mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
22 lines
666 B
CMake
22 lines
666 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()
|
|
|
|
set(ENV{VCPKG_ROOT} C:\\vcpkg)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)
|
|
MESSAGE(${CMAKE_CURRENT_SOURCE_DIR}/inc)
|
|
|
|
project ("xna")
|
|
|
|
# Include sub-projects.
|
|
add_subdirectory ("framework")
|
|
|
|
|