Files
XCEngine/MVS/HelloEarth/CMakeLists.txt

30 lines
495 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.15)
project(HelloEarth)
add_executable(HelloEarth
WIN32
main.cpp
BattleFireDirect.cpp
StaticMeshComponent.cpp
Utils.cpp
stbi/stb_image.cpp
)
target_compile_definitions(HelloEarth PRIVATE
UNICODE
_UNICODE
)
target_include_directories(HelloEarth PRIVATE
${CMAKE_SOURCE_DIR}/mvs/HelloEarth
${CMAKE_SOURCE_DIR}/mvs/HelloEarth/stbi
)
target_link_libraries(HelloEarth PRIVATE
d3d12
dxgi
d3dcompiler
winmm
)