2024-07-21 02:35:20 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-09-04 04:32:09 +08:00
|
|
|
index 72901a8c..365724a8 100644
|
2024-07-21 02:35:20 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-09-04 04:32:09 +08:00
|
|
|
@@ -193,3 +193,15 @@ if(TRACY_CLIENT_PYTHON)
|
2024-07-21 02:35:20 +08:00
|
|
|
|
|
|
|
add_subdirectory(python)
|
|
|
|
endif()
|
|
|
|
+
|
|
|
|
+option(VCPKG_CLI_TOOLS "library" OFF)
|
|
|
|
+option(VCPKG_GUI_TOOLS "library" OFF)
|
|
|
|
+if(VCPKG_CLI_TOOLS)
|
|
|
|
+ add_subdirectory(csvexport)
|
|
|
|
+ add_subdirectory(capture)
|
2024-09-04 04:32:09 +08:00
|
|
|
+ add_subdirectory(import)
|
2024-07-21 02:35:20 +08:00
|
|
|
+ add_subdirectory(update)
|
|
|
|
+endif()
|
|
|
|
+if(VCPKG_GUI_TOOLS)
|
|
|
|
+ add_subdirectory(profiler)
|
|
|
|
+endif()
|
|
|
|
diff --git a/cmake/server.cmake b/cmake/server.cmake
|
|
|
|
index c12a3408..0d55cf91 100644
|
|
|
|
--- a/cmake/server.cmake
|
|
|
|
+++ b/cmake/server.cmake
|
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
+include_guard(GLOBAL)
|
|
|
|
set(TRACY_COMMON_DIR ${CMAKE_CURRENT_LIST_DIR}/../public/common)
|
|
|
|
|
|
|
|
set(TRACY_COMMON_SOURCES
|
|
|
|
diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake
|
2024-09-04 04:32:09 +08:00
|
|
|
index 29f12cfa..40b3e078 100644
|
2024-07-21 02:35:20 +08:00
|
|
|
--- a/cmake/vendor.cmake
|
|
|
|
+++ b/cmake/vendor.cmake
|
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
+include_guard(GLOBAL)
|
|
|
|
# Vendor Specific CMake
|
|
|
|
# The Tracy project keeps most vendor source locally
|
|
|
|
|