mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
26 lines
798 B
CMake
26 lines
798 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -mcpu=native to the compiler)" OFF)
|
|
option(NO_STATISTICS OFF) # we need those to get processed source zone locations
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
project(
|
|
tracy-multiprocess
|
|
LANGUAGES C CXX ASM
|
|
VERSION ${TRACY_VERSION_STRING}
|
|
)
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/vendor.cmake)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/server.cmake)
|
|
|
|
|
|
add_executable(tracy-merge
|
|
src/merger.cpp)
|
|
target_link_libraries(tracy-merge PRIVATE TracyServer TracyGetOpt)
|
|
|
|
set_property(DIRECTORY ${CMAKE_CURRENT_LIST_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})
|