33 lines
879 B
CMake
33 lines
879 B
CMake
# CMakeList.txt : Top-level CMake project file, do global configuration
|
|
# and include sub-projects here.
|
|
#
|
|
cmake_minimum_required (VERSION 3.11)
|
|
|
|
# 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()
|
|
|
|
include(FetchContent)
|
|
|
|
SET(CMAKE_EXPORT_COMPILE_COMMANDS 1)
|
|
|
|
SET(TRACY_ENABLE 1)
|
|
SET(TRACY_ON_DEMAND 1)
|
|
SET(TRACY_ONLY_LOCALHOST 1)
|
|
|
|
FetchContent_Declare(
|
|
tracy
|
|
GIT_REPOSITORY https://github.com/wolfpld/tracy.git
|
|
GIT_TAG v0.11.1
|
|
GIT_SHALLOW TRUE
|
|
GIT_PROGRESS TRUE
|
|
)
|
|
|
|
FetchContent_MakeAvailable(tracy)
|
|
|
|
project ("YuppleMayham")
|
|
|
|
# Include sub-projects.
|
|
add_subdirectory ("YuppleMayham")
|