1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/sources/framework-dx/CMakeLists.txt

39 lines
786 B
CMake
Raw Permalink Normal View History

# CMakeList.txt : CMake project for xna, include source and define
# project specific logic here.
#
# Add source to this project's executable.
add_library (Xn65DX STATIC
"window.cpp"
"device.cpp"
"adapter.cpp"
"swapchain.cpp"
"rendertarget.cpp"
"texture.cpp"
"blendstate.cpp"
"game.cpp"
"gdevicemanager.cpp"
"rasterizerstate.cpp"
"samplerstate.cpp"
"sprite.cpp"
"depthstencilstate.cpp"
"keyboard.cpp"
"mouse.cpp"
"gamepad.cpp"
"soundeffect.cpp"
"init.cpp"
"audioengine.cpp"
"effect.cpp"
2024-11-15 11:47:33 -03:00
"screen.cpp"
"gresource.cpp")
if (CMAKE_VERSION VERSION_GREATER 3.12)
set_property(TARGET Xn65DX PROPERTY CXX_STANDARD 20)
endif()
find_package(directxtk CONFIG REQUIRED)
target_link_libraries(
Xn65DX Xn65 D3d11.lib dxgi.lib dxguid.lib d3dcompiler.lib Microsoft::DirectXTK dxguid.lib
)