2024-03-18 15:41:46 -03:00
|
|
|
|
# CMakeList.txt : CMake project for xna, include source and define
|
|
|
|
|
# project specific logic here.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Add source to this project's executable.
|
2024-05-25 14:15:48 -03:00
|
|
|
|
add_library (Xn65 STATIC
|
2024-05-01 19:09:43 -03:00
|
|
|
|
"game/component.cpp"
|
2024-07-07 16:06:05 -03:00
|
|
|
|
"game/servicecontainer.cpp"
|
2024-05-01 19:09:43 -03:00
|
|
|
|
"content/manager.cpp"
|
|
|
|
|
"content/reader.cpp"
|
2024-05-10 15:51:03 -03:00
|
|
|
|
"content/lzx/decoder.cpp"
|
|
|
|
|
"content/typereadermanager.cpp"
|
|
|
|
|
"common/color.cpp"
|
2024-05-16 17:23:52 -03:00
|
|
|
|
"common/collision.cpp"
|
|
|
|
|
"common/gjk.cpp"
|
2024-05-25 11:23:41 -03:00
|
|
|
|
"common/numerics.cpp"
|
2024-09-06 23:09:56 -03:00
|
|
|
|
"common/packedvalue.cpp"
|
2024-11-16 19:07:04 -03:00
|
|
|
|
"graphics/displaymode.cpp"
|
2024-12-02 19:02:51 -03:00
|
|
|
|
)
|
2024-03-18 15:41:46 -03:00
|
|
|
|
|
|
|
|
|
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
2024-05-25 14:15:48 -03:00
|
|
|
|
set_property(TARGET Xn65 PROPERTY CXX_STANDARD 20)
|
2024-03-18 15:41:46 -03:00
|
|
|
|
endif()
|
2024-11-16 19:07:04 -03:00
|
|
|
|
|
|
|
|
|
#find_package(tinyxml2 CONFIG REQUIRED)
|
|
|
|
|
|
2024-12-02 19:02:51 -03:00
|
|
|
|
target_link_libraries(Xn65 CSharp++ "${PROJECT_VCPKG_DIRECTORY}/installed/x64-windows/lib/tinyxml2.lib")
|