1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Do not include library dependencies in the default target.

We are only interested in outputting the executable program.
This commit is contained in:
Bartosz Taudul
2024-09-26 13:04:47 +02:00
parent 721cf57b28
commit 5b1f3f67c3
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ set(TRACY_SERVER_SOURCES
list(TRANSFORM TRACY_SERVER_SOURCES PREPEND "${TRACY_SERVER_DIR}/")
add_library(TracyServer STATIC ${TRACY_COMMON_SOURCES} ${TRACY_SERVER_SOURCES})
add_library(TracyServer STATIC EXCLUDE_FROM_ALL ${TRACY_COMMON_SOURCES} ${TRACY_SERVER_SOURCES})
target_include_directories(TracyServer PUBLIC ${TRACY_COMMON_DIR} ${TRACY_SERVER_DIR})
target_link_libraries(TracyServer PUBLIC TracyCapstone TracyZstd)
if(NO_STATISTICS)