2024-03-17 12:41:32 +00:00
|
|
|
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 "Disable calculation of statistics" ON)
|
|
|
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
|
|
|
project(
|
2024-07-12 20:41:26 +00:00
|
|
|
tracy-import
|
2024-04-30 11:44:07 +00:00
|
|
|
LANGUAGES C CXX
|
2024-03-17 12:41:32 +00:00
|
|
|
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)
|
|
|
|
|
2024-07-12 20:41:26 +00:00
|
|
|
add_executable(tracy-import-chrome
|
|
|
|
src/import-chrome.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(tracy-import-chrome PRIVATE TracyServer)
|
|
|
|
|
|
|
|
add_executable(tracy-import-fuchsia
|
2024-03-17 12:41:32 +00:00
|
|
|
src/import-fuchsia.cpp
|
|
|
|
)
|
2024-07-12 20:41:26 +00:00
|
|
|
target_link_libraries(tracy-import-fuchsia PRIVATE TracyServer)
|
2024-03-17 12:41:32 +00:00
|
|
|
|
2024-04-14 16:13:51 +00:00
|
|
|
set_property(DIRECTORY ${CMAKE_CURRENT_LIST_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})
|