- 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_link_libraries (test_core ${Boost_LIBRARIES} ${EXTRA_LIBS})
|