Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
36 lines
970 B
CMake
36 lines
970 B
CMake
set(TRACY_COMMON_DIR ${CMAKE_CURRENT_LIST_DIR}/../public/common)
|
|
|
|
set(TRACY_COMMON_SOURCES
|
|
tracy_lz4.cpp
|
|
tracy_lz4hc.cpp
|
|
TracySocket.cpp
|
|
TracyStackFrames.cpp
|
|
TracySystem.cpp
|
|
)
|
|
|
|
list(TRANSFORM TRACY_COMMON_SOURCES PREPEND "${TRACY_COMMON_DIR}/")
|
|
|
|
|
|
set(TRACY_SERVER_DIR ${CMAKE_CURRENT_LIST_DIR}/../server)
|
|
|
|
set(TRACY_SERVER_SOURCES
|
|
TracyMemory.cpp
|
|
TracyMmap.cpp
|
|
TracyPrint.cpp
|
|
TracySysUtil.cpp
|
|
TracyTaskDispatch.cpp
|
|
TracyTextureCompression.cpp
|
|
TracyThreadCompress.cpp
|
|
TracyWorker.cpp
|
|
)
|
|
|
|
list(TRANSFORM TRACY_SERVER_SOURCES PREPEND "${TRACY_SERVER_DIR}/")
|
|
|
|
|
|
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 libzstd PPQSort::PPQSort)
|
|
if(NO_STATISTICS)
|
|
target_compile_definitions(TracyServer PUBLIC TRACY_NO_STATISTICS)
|
|
endif()
|