blob: 8c0cb2ee33d2cb13f24fdaa84f34e37f79b9c497 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 72901a8c..365724a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,3 +193,15 @@ if(TRACY_CLIENT_PYTHON)
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)
+ add_subdirectory(import)
+ 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
index 29f12cfa..40b3e078 100644
--- 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
|