| 123456789101112131415161718192021222324 |
- set (Boost_USE_STATIC_LIBS OFF)
- find_package (Boost REQUIRED COMPONENTS unit_test_framework)
- include_directories (${Boost_INCLUDE_DIRS})
- add_executable(test_core
- core/datanode_base.cpp
- core/geometry_types.cpp
- core/small_obj.cpp
- core/sophiar_manager.cpp
- # core/transform_tree.cpp
- core/tristate_obj.cpp
- ${EXTERN_DEF_FILES}
- ${CORE_IMPL_FILES})
- target_compile_definitions(test_core PUBLIC SOPHIAR_TEST)
- #target_compile_definitions(test_core PUBLIC CORO_SIGNAL2_USE_TIMER)
- target_link_libraries(test_core ${Boost_LIBRARIES} ${EXTRA_LIBS})
- add_executable(test_utility
- utility/coro_signal2.cpp
- ${EXTERN_DEF_FILES}
- ${CORE_IMPL_FILES})
- target_compile_definitions(test_utility PUBLIC SOPHIAR_TEST)
- target_compile_definitions(test_utility PUBLIC CORO_SIGNAL2_USE_TIMER)
- target_link_libraries(test_utility ${Boost_LIBRARIES} ${EXTRA_LIBS})
|