You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
959 B

set(MagnumDebugTools_SRCS
ForceRenderer.cpp
ObjectRenderer.cpp
Profiler.cpp
ResourceManager.cpp
ShapeRenderer.cpp
Implementation/AbstractBoxRenderer.cpp
Implementation/AbstractShapeRenderer.cpp
Implementation/AxisAlignedBoxRenderer.cpp
Implementation/BoxRenderer.cpp
Implementation/PointRenderer.cpp)
set(MagnumDebugTools_HEADERS
ForceRenderer.h
DebugTools.h
ObjectRenderer.h
Profiler.h
ResourceManager.h
ShapeRenderer.h
magnumDebugToolsVisibility.h)
add_library(MagnumDebugTools SHARED ${MagnumDebugTools_SRCS})
target_link_libraries(MagnumDebugTools
Magnum
MagnumMeshTools
MagnumPhysics
MagnumPrimitives
MagnumSceneGraph
MagnumShaders)
install(TARGETS MagnumDebugTools DESTINATION ${MAGNUM_LIBRARY_INSTALL_DIR})
install(FILES ${MagnumDebugTools_HEADERS} DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/DebugTools)
if(BUILD_TESTS)
add_subdirectory(Test)
endif()