1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/CMakeLists.txt
2024-06-03 21:38:53 -03:00

23 lines
750 B
CMake

# CMakeList.txt : Top-level CMake project file, do global configuration
# and include sub-projects here.
#
cmake_minimum_required (VERSION 3.8)
# Enable Hot Reload for MSVC compilers if supported.
if (POLICY CMP0141)
cmake_policy(SET CMP0141 NEW)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
endif()
# CMAKE_TOOLCHAIN_FILE
set(VCPKG_USER_DIRECTORY "C:/vcpkg")
include("${VCPKG_USER_DIRECTORY}/scripts/buildsystems/vcpkg.cmake")
project ("xna")
# Include sub-projects.
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)
add_subdirectory ("framework")
add_subdirectory ("samples")