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

Move all client headers and sources to public/ directory.

This commit is contained in:
Bartosz Taudul
2022-07-17 13:41:40 +02:00
parent c3c799ebc4
commit 06c7984a16
114 changed files with 476 additions and 396 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ find_package(OpenCL REQUIRED)
add_executable(OpenCLVectorAdd OpenCLVectorAdd.cpp)
add_library(TracyClient STATIC ../../TracyClient.cpp
../../TracyOpenCL.hpp)
target_include_directories(TracyClient PUBLIC ../../)
add_library(TracyClient STATIC ../../public/TracyClient.cpp
../../public/tracy/TracyOpenCL.hpp)
target_include_directories(TracyClient PUBLIC ../../public/tracy)
target_compile_definitions(TracyClient PUBLIC TRACY_ENABLE=1)
target_link_libraries(OpenCLVectorAdd PUBLIC OpenCL::OpenCL TracyClient ${CMAKE_DL_LIBS} Threads::Threads)