mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
initial import, >900commits predate this
This commit is contained in:
28
external/tracy/CMakeLists.txt
vendored
Normal file
28
external/tracy/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
|
||||
|
||||
add_library(tracy_client
|
||||
"${CMAKE_CURRENT_LIST_DIR}/tracy/Tracy.hpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/tracy/TracyLua.hpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/tracy/TracyVulkan.hpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/tracy/TracyOpenGL.hpp"
|
||||
|
||||
"${CMAKE_CURRENT_LIST_DIR}/tracy/TracyClient.cpp"
|
||||
)
|
||||
|
||||
target_compile_features(tracy_client PUBLIC cxx_std_17)
|
||||
|
||||
if(TRACY_ENABLE)
|
||||
target_compile_definitions(tracy_client PUBLIC TRACY_ENABLE)
|
||||
#target_compile_definitions(tracy_client PUBLIC TRACY_NO_SYSTEM_TRACING)
|
||||
message("Enabled TRACY")
|
||||
endif()
|
||||
|
||||
target_include_directories(tracy_client PUBLIC "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
#target_link_libraries(tracy_client
|
||||
#)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(tracy_client dl)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user