diff --git a/3rdParty/CMakeLists.txt b/3rdParty/CMakeLists.txt index 3ebd962..55e95f2 100644 --- a/3rdParty/CMakeLists.txt +++ b/3rdParty/CMakeLists.txt @@ -13,6 +13,7 @@ add_subdirectory(pugixml) add_subdirectory(stb) add_subdirectory(eigen) add_subdirectory(utfcpp) +add_subdirectory(tracy) if (NOT LINUX) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/deps) diff --git a/3rdParty/tracy/CMakeLists.txt b/3rdParty/tracy/CMakeLists.txt new file mode 100644 index 0000000..c1c906f --- /dev/null +++ b/3rdParty/tracy/CMakeLists.txt @@ -0,0 +1,11 @@ +include(FetchContent) + +FetchContent_Declare ( + tracy + EXCLUDE_FROM_ALL + GIT_REPOSITORY https://github.com/wolfpld/tracy.git + GIT_TAG master + GIT_SHALLOW TRUE + GIT_PROGRESS TRUE +) +FetchContent_MakeAvailable (tracy) \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bbcc4d..665b284 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ find_package(LibArchive REQUIRED) set(ZLIB_USE_STATIC_LIBS ON) find_package(ZLIB REQUIRED) target_include_directories(openVulkanoCpp PRIVATE ${LibArchive_INCLUDE_DIR}) -target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp spdlog glm pugixml ${LibArchive_LIBRARIES} ${ZLIB_LIBRARIES} stb eigen utf8cpp) +target_link_libraries(openVulkanoCpp PRIVATE magic_enum yaml-cpp spdlog glm pugixml ${LibArchive_LIBRARIES} ${ZLIB_LIBRARIES} stb eigen utf8cpp TracyClient) add_compile_definitions(GLM_FORCE_INTRINSICS) add_compile_definitions(GLM_FORCE_SILENT_WARNINGS)