mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:24:24 +02:00
Merge pull request #5661 from sethalves/linux-memory-debugger
call setup_memory_debugger from common macros rather than from everywhere
This commit is contained in:
commit
8cd13cad00
46 changed files with 5 additions and 88 deletions
|
@ -19,6 +19,4 @@ endif (UNIX)
|
||||||
|
|
||||||
include_application_version()
|
include_application_version()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -33,4 +33,7 @@ macro(LINK_HIFI_LIBRARIES)
|
||||||
list(APPEND ${TARGET_NAME}_DEPENDENCY_INCLUDES ${LINKED_TARGET_DEPENDENCY_INCLUDES})
|
list(APPEND ${TARGET_NAME}_DEPENDENCY_INCLUDES ${LINKED_TARGET_DEPENDENCY_INCLUDES})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
setup_memory_debugger()
|
||||||
|
|
||||||
endmacro(LINK_HIFI_LIBRARIES)
|
endmacro(LINK_HIFI_LIBRARIES)
|
|
@ -15,6 +15,8 @@ macro(SETUP_HIFI_LIBRARY)
|
||||||
file(GLOB_RECURSE LIB_SRCS "src/*.h" "src/*.cpp" "src/*.c")
|
file(GLOB_RECURSE LIB_SRCS "src/*.h" "src/*.cpp" "src/*.c")
|
||||||
list(APPEND ${TARGET_NAME}_SRCS ${LIB_SRCS})
|
list(APPEND ${TARGET_NAME}_SRCS ${LIB_SRCS})
|
||||||
|
|
||||||
|
setup_memory_debugger()
|
||||||
|
|
||||||
# create a library and set the property so it can be referenced later
|
# create a library and set the property so it can be referenced later
|
||||||
if (${${TARGET_NAME}_SHARED})
|
if (${${TARGET_NAME}_SHARED})
|
||||||
add_library(${TARGET_NAME} SHARED ${LIB_SRCS} ${AUTOMTC_SRC} ${AUTOSCRIBE_SHADER_LIB_SRC} ${QT_RESOURCES_FILE})
|
add_library(${TARGET_NAME} SHARED ${LIB_SRCS} ${AUTOMTC_SRC} ${AUTOSCRIBE_SHADER_LIB_SRC} ${QT_RESOURCES_FILE})
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME domain-server)
|
set(TARGET_NAME domain-server)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
if (UPPER_CMAKE_BUILD_TYPE MATCHES DEBUG AND NOT WIN32)
|
if (UPPER_CMAKE_BUILD_TYPE MATCHES DEBUG AND NOT WIN32)
|
||||||
set(_SHOULD_SYMLINK_RESOURCES TRUE)
|
set(_SHOULD_SYMLINK_RESOURCES TRUE)
|
||||||
else ()
|
else ()
|
||||||
|
|
|
@ -88,6 +88,4 @@ if (ANDROID)
|
||||||
|
|
||||||
endif (ANDROID)
|
endif (ANDROID)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME ice-server)
|
set(TARGET_NAME ice-server)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# setup the project and link required Qt modules
|
# setup the project and link required Qt modules
|
||||||
setup_hifi_project(Network)
|
setup_hifi_project(Network)
|
||||||
|
|
||||||
|
|
|
@ -205,6 +205,4 @@ else (APPLE)
|
||||||
endif()
|
endif()
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -3,6 +3,4 @@ set(TARGET_NAME animation)
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network Script)
|
setup_hifi_library(Network Script)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
link_hifi_libraries(shared gpu model fbx)
|
link_hifi_libraries(shared gpu model fbx)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME audio-client)
|
set(TARGET_NAME audio-client)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network Multimedia)
|
setup_hifi_library(Network Multimedia)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME audio)
|
set(TARGET_NAME audio)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network)
|
setup_hifi_library(Network)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
set(TARGET_NAME auto-updater)
|
set(TARGET_NAME auto-updater)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_library(Network)
|
setup_hifi_library(Network)
|
||||||
link_hifi_libraries(shared networking)
|
link_hifi_libraries(shared networking)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME avatars)
|
set(TARGET_NAME avatars)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network Script)
|
setup_hifi_library(Network Script)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME display-plugins)
|
set(TARGET_NAME display-plugins)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(OpenGL)
|
setup_hifi_library(OpenGL)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
set(TARGET_NAME embedded-webserver)
|
set(TARGET_NAME embedded-webserver)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network)
|
setup_hifi_library(Network)
|
||||||
|
|
|
@ -26,6 +26,4 @@ find_package(PolyVox REQUIRED)
|
||||||
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${POLYVOX_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${POLYVOX_INCLUDE_DIRS})
|
||||||
target_link_libraries(${TARGET_NAME} ${POLYVOX_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${POLYVOX_LIBRARIES})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
link_hifi_libraries(shared gpu script-engine render render-utils)
|
link_hifi_libraries(shared gpu script-engine render render-utils)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME entities)
|
set(TARGET_NAME entities)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network Script)
|
setup_hifi_library(Network Script)
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,4 @@ add_dependency_external_projects(glm)
|
||||||
find_package(GLM REQUIRED)
|
find_package(GLM REQUIRED)
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
link_hifi_libraries(shared networking)
|
link_hifi_libraries(shared networking)
|
||||||
|
|
|
@ -7,6 +7,4 @@ add_dependency_external_projects(glm)
|
||||||
find_package(GLM REQUIRED)
|
find_package(GLM REQUIRED)
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
link_hifi_libraries(shared gpu model networking octree)
|
link_hifi_libraries(shared gpu model networking octree)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME gpu)
|
set(TARGET_NAME gpu)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
AUTOSCRIBE_SHADER_LIB(gpu)
|
AUTOSCRIBE_SHADER_LIB(gpu)
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
|
|
|
@ -33,8 +33,6 @@ endif()
|
||||||
#target_include_directories(${TARGET_NAME} PRIVATE ${SIXENSE_INCLUDE_DIRS})
|
#target_include_directories(${TARGET_NAME} PRIVATE ${SIXENSE_INCLUDE_DIRS})
|
||||||
#target_link_libraries(${TARGET_NAME} ${SIXENSE_LIBRARIES})
|
#target_link_libraries(${TARGET_NAME} ${SIXENSE_LIBRARIES})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# perform standard include and linking for found externals
|
# perform standard include and linking for found externals
|
||||||
foreach(EXTERNAL ${OPTIONAL_EXTERNALS})
|
foreach(EXTERNAL ${OPTIONAL_EXTERNALS})
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@ set(TARGET_NAME model)
|
||||||
|
|
||||||
AUTOSCRIBE_SHADER_LIB(gpu model)
|
AUTOSCRIBE_SHADER_LIB(gpu model)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library()
|
setup_hifi_library()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME networking)
|
set(TARGET_NAME networking)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Network)
|
setup_hifi_library(Network)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME octree)
|
set(TARGET_NAME octree)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library()
|
setup_hifi_library()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME physics)
|
set(TARGET_NAME physics)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library()
|
setup_hifi_library()
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,4 @@ link_hifi_libraries(shared)
|
||||||
add_dependency_external_projects(glm)
|
add_dependency_external_projects(glm)
|
||||||
find_package(GLM REQUIRED)
|
find_package(GLM REQUIRED)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
||||||
|
|
|
@ -40,6 +40,4 @@ add_dependency_external_projects(oglplus)
|
||||||
find_package(OGLPLUS REQUIRED)
|
find_package(OGLPLUS REQUIRED)
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${OGLPLUS_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${OGLPLUS_INCLUDE_DIRS})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
link_hifi_libraries(animation fbx shared gpu model render environment)
|
link_hifi_libraries(animation fbx shared gpu model render environment)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME render)
|
set(TARGET_NAME render)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
AUTOSCRIBE_SHADER_LIB(gpu model)
|
AUTOSCRIBE_SHADER_LIB(gpu model)
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME script-engine)
|
set(TARGET_NAME script-engine)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library(Gui Network Script WebSockets Widgets)
|
setup_hifi_library(Gui Network Script WebSockets Widgets)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(TARGET_NAME shared)
|
set(TARGET_NAME shared)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
# TODO: there isn't really a good reason to have Script linked here - let's get what is requiring it out (RegisteredMetaTypes.cpp)
|
# TODO: there isn't really a good reason to have Script linked here - let's get what is requiring it out (RegisteredMetaTypes.cpp)
|
||||||
setup_hifi_library(Gui Network Script Widgets)
|
setup_hifi_library(Gui Network Script Widgets)
|
||||||
|
|
|
@ -8,6 +8,4 @@ link_hifi_libraries(render-utils shared)
|
||||||
add_dependency_external_projects(glm)
|
add_dependency_external_projects(glm)
|
||||||
find_package(GLM REQUIRED)
|
find_package(GLM REQUIRED)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
||||||
|
|
|
@ -35,5 +35,3 @@ set_target_properties("all-tests" PROPERTIES FOLDER "hidden/test-targets")
|
||||||
set_target_properties("all-tests" PROPERTIES
|
set_target_properties("all-tests" PROPERTIES
|
||||||
EXCLUDE_FROM_DEFAULT_BUILD TRUE
|
EXCLUDE_FROM_DEFAULT_BUILD TRUE
|
||||||
EXCLUDE_FROM_ALL TRUE)
|
EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
|
@ -6,6 +6,4 @@ macro (setup_testcase_dependencies)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -6,6 +6,4 @@ macro (SETUP_TESTCASE_DEPENDENCIES)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -9,6 +9,4 @@ set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
||||||
# link in the shared libraries
|
# link in the shared libraries
|
||||||
link_hifi_libraries(entities avatars shared octree gpu model fbx networking animation environment)
|
link_hifi_libraries(entities avatars shared octree gpu model fbx networking animation environment)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -7,6 +7,4 @@ macro (setup_testcase_dependencies)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -7,6 +7,4 @@ macro (setup_testcase_dependencies)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -7,6 +7,4 @@ macro (setup_testcase_dependencies)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase(Script Network)
|
setup_hifi_testcase(Script Network)
|
||||||
|
|
|
@ -21,6 +21,4 @@ macro (SETUP_TESTCASE_DEPENDENCIES)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase(Script)
|
setup_hifi_testcase(Script)
|
||||||
|
|
|
@ -10,6 +10,4 @@ link_hifi_libraries(render-utils gpu shared)
|
||||||
|
|
||||||
message(${PROJECT_BINARY_DIR})
|
message(${PROJECT_BINARY_DIR})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -19,6 +19,4 @@ include_directories("${PROJECT_BINARY_DIR}/../../libraries/model/")
|
||||||
|
|
||||||
message(${PROJECT_BINARY_DIR})
|
message(${PROJECT_BINARY_DIR})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -8,6 +8,4 @@ macro (setup_testcase_dependencies)
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_testcase()
|
setup_hifi_testcase()
|
||||||
|
|
|
@ -13,6 +13,4 @@ endif()
|
||||||
# link in the shared libraries
|
# link in the shared libraries
|
||||||
link_hifi_libraries(ui render-utils gpu shared)
|
link_hifi_libraries(ui render-utils gpu shared)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
# add the tool directories
|
# add the tool directories
|
||||||
add_subdirectory(mtc)
|
add_subdirectory(mtc)
|
||||||
set_target_properties(mtc PROPERTIES FOLDER "Tools")
|
set_target_properties(mtc PROPERTIES FOLDER "Tools")
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
set(TARGET_NAME mtc)
|
set(TARGET_NAME mtc)
|
||||||
setup_hifi_project()
|
setup_hifi_project()
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
copy_dlls_beside_windows_executable()
|
copy_dlls_beside_windows_executable()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
set(TARGET_NAME scribe)
|
set(TARGET_NAME scribe)
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
setup_hifi_project()
|
setup_hifi_project()
|
||||||
|
|
|
@ -8,8 +8,6 @@ find_package(VHACD REQUIRED)
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC ${VHACD_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PUBLIC ${VHACD_INCLUDE_DIRS})
|
||||||
target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES})
|
||||||
|
|
||||||
setup_memory_debugger()
|
|
||||||
|
|
||||||
if (UNIX AND NOT APPLE)
|
if (UNIX AND NOT APPLE)
|
||||||
include(FindOpenMP)
|
include(FindOpenMP)
|
||||||
if(OPENMP_FOUND)
|
if(OPENMP_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue