CMakeLists.txt 538 B

123456789101112131415
  1. set (Boost_USE_STATIC_LIBS OFF)
  2. find_package (Boost REQUIRED COMPONENTS unit_test_framework)
  3. include_directories (${Boost_INCLUDE_DIRS})
  4. add_executable (test_core
  5. core/datanode_base.cpp
  6. core/geometry_types.cpp
  7. core/small_obj.cpp
  8. core/sophiar_manager.cpp
  9. # core/transform_tree.cpp
  10. core/tristate_obj.cpp
  11. ${EXTERN_DEF_FILES}
  12. ${CORE_IMPL_FILES})
  13. target_compile_definitions(test_core PUBLIC SOPHIAR_TEST)
  14. target_link_libraries (test_core ${Boost_LIBRARIES} ${EXTRA_LIBS})