refactor: 将stbi库从tests/D3D12移动到engine/third_party/stbi
This commit is contained in:
@@ -5,7 +5,7 @@ project(D3D12)
|
||||
add_executable(D3D12
|
||||
WIN32
|
||||
main.cpp
|
||||
stbi/stb_image.cpp
|
||||
${CMAKE_SOURCE_DIR}/engine/third_party/stbi/stb_image.cpp
|
||||
)
|
||||
|
||||
target_compile_definitions(D3D12 PRIVATE
|
||||
@@ -15,8 +15,8 @@ target_compile_definitions(D3D12 PRIVATE
|
||||
|
||||
target_include_directories(D3D12 PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/stbi
|
||||
D:/Xuanchi/高斯泼溅/XCEngine/engine/include
|
||||
${CMAKE_SOURCE_DIR}/engine/third_party
|
||||
${CMAKE_SOURCE_DIR}/engine/include
|
||||
)
|
||||
|
||||
target_link_libraries(D3D12 PRIVATE
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h"
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user