Skip to content

Commit

Permalink
Merge pull request #312 from Honeybunch/master
Browse files Browse the repository at this point in the history
Fixing CMake Install
  • Loading branch information
wolfpld authored Jan 12, 2022
2 parents fd4f458 + 12b0631 commit 7cdf640
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,53 @@ set(includes
${CMAKE_CURRENT_LIST_DIR}/TracyOpenGL.hpp
${CMAKE_CURRENT_LIST_DIR}/TracyVulkan.hpp)

set(client_includes
${CMAKE_CURRENT_LIST_DIR}/client/tracy_concurrentqueue.h
${CMAKE_CURRENT_LIST_DIR}/client/tracy_rpmalloc.hpp
${CMAKE_CURRENT_LIST_DIR}/client/tracy_SPSCQueue.h
${CMAKE_CURRENT_LIST_DIR}/client/TracyArmCpuTable.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyCallstack.h
${CMAKE_CURRENT_LIST_DIR}/client/TracyCallstack.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyDebug.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyDxt1.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyFastVector.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyLock.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyProfiler.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyRingBuffer.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyScoped.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyStringHelpers.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracySysTime.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracySysTrace.hpp
${CMAKE_CURRENT_LIST_DIR}/client/TracyThread.hpp)

set(common_includes
${CMAKE_CURRENT_LIST_DIR}/common/tracy_lz4.hpp
${CMAKE_CURRENT_LIST_DIR}/common/tracy_lz4hc.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyAlign.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyAlign.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyAlloc.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyApi.h
${CMAKE_CURRENT_LIST_DIR}/common/TracyColor.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyForceInline.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyMutex.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyProtocol.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyQueue.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracySocket.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyStackFrames.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracySystem.hpp
${CMAKE_CURRENT_LIST_DIR}/common/TracyYield.hpp)

install(TARGETS TracyClient
EXPORT TracyConfig
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES ${client_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/client)
install(FILES ${common_includes}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/common)
install(EXPORT TracyConfig
FILE TracyConfig.cmake
DESTINATION share/Tracy)

0 comments on commit 7cdf640

Please sign in to comment.