mirror of https://github.com/CGAL/cgal
move examples using undocumented features to test
This commit is contained in:
parent
c7f2e9d263
commit
c1fa838e1e
|
|
@ -41,29 +41,18 @@ if(TARGET CGAL::Eigen3_support)
|
||||||
create_single_source_cgal_program("contouring_implicit_data.cpp")
|
create_single_source_cgal_program("contouring_implicit_data.cpp")
|
||||||
create_single_source_cgal_program("contouring_mesh_offset.cpp")
|
create_single_source_cgal_program("contouring_mesh_offset.cpp")
|
||||||
|
|
||||||
# undocumented
|
|
||||||
create_single_source_cgal_program("dual_contouring_octree.cpp")
|
|
||||||
create_single_source_cgal_program("dual_contouring_strategies.cpp")
|
|
||||||
create_single_source_cgal_program("dual_contouring_intersection_oracles.cpp")
|
|
||||||
|
|
||||||
target_link_libraries(dual_contouring PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(dual_contouring PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(dual_contouring_octree PRIVATE CGAL::Eigen3_support)
|
|
||||||
target_link_libraries(contouring_discrete_data PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(contouring_discrete_data PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(contouring_inrimage PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(contouring_inrimage PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(contouring_implicit_data PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(contouring_implicit_data PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(contouring_mesh_offset PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(contouring_mesh_offset PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(dual_contouring_strategies PRIVATE CGAL::Eigen3_support)
|
|
||||||
target_link_libraries(dual_contouring_intersection_oracles PRIVATE CGAL::Eigen3_support)
|
|
||||||
|
|
||||||
if(TARGET CGAL::TBB_support)
|
if(TARGET CGAL::TBB_support)
|
||||||
target_link_libraries(dual_contouring PRIVATE CGAL::TBB_support)
|
target_link_libraries(dual_contouring PRIVATE CGAL::TBB_support)
|
||||||
target_link_libraries(dual_contouring_octree PRIVATE CGAL::TBB_support)
|
|
||||||
target_link_libraries(contouring_discrete_data PRIVATE CGAL::TBB_support)
|
target_link_libraries(contouring_discrete_data PRIVATE CGAL::TBB_support)
|
||||||
target_link_libraries(contouring_inrimage PRIVATE CGAL::TBB_support)
|
target_link_libraries(contouring_inrimage PRIVATE CGAL::TBB_support)
|
||||||
target_link_libraries(contouring_implicit_data PRIVATE CGAL::TBB_support)
|
target_link_libraries(contouring_implicit_data PRIVATE CGAL::TBB_support)
|
||||||
target_link_libraries(contouring_mesh_offset PRIVATE CGAL::TBB_support)
|
target_link_libraries(contouring_mesh_offset PRIVATE CGAL::TBB_support)
|
||||||
target_link_libraries(dual_contouring_strategies PRIVATE CGAL::TBB_support)
|
|
||||||
target_link_libraries(dual_contouring_intersection_oracles PRIVATE CGAL::TBB_support)
|
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
message(STATUS "NOTICE: Some examples use Eigen, and will not be compiled.")
|
message(STATUS "NOTICE: Some examples use Eigen, and will not be compiled.")
|
||||||
|
|
@ -88,4 +77,4 @@ if(TARGET CGAL::CGAL_ImageIO)
|
||||||
endif() # Eigen
|
endif() # Eigen
|
||||||
else() # ImageIO
|
else() # ImageIO
|
||||||
message(STATUS "NOTICE: Some examples need the CGAL_ImageIO library, and will not be compiled.")
|
message(STATUS "NOTICE: Some examples need the CGAL_ImageIO library, and will not be compiled.")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,22 @@ if(TARGET CGAL::Eigen3_support)
|
||||||
target_link_libraries(test_isosurfacing_concepts PRIVATE CGAL::Eigen3_support)
|
target_link_libraries(test_isosurfacing_concepts PRIVATE CGAL::Eigen3_support)
|
||||||
target_link_libraries(test_dual_contouring PRIVATE CGAL::TBB_support)
|
target_link_libraries(test_dual_contouring PRIVATE CGAL::TBB_support)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
#examples to be moved in example when reading to be documented
|
||||||
|
create_single_source_cgal_program("dual_contouring_octree.cpp")
|
||||||
|
create_single_source_cgal_program("dual_contouring_strategies.cpp")
|
||||||
|
create_single_source_cgal_program("dual_contouring_intersection_oracles.cpp")
|
||||||
|
|
||||||
|
target_link_libraries(dual_contouring_octree PRIVATE CGAL::Eigen3_support)
|
||||||
|
target_link_libraries(dual_contouring_strategies PRIVATE CGAL::Eigen3_support)
|
||||||
|
target_link_libraries(dual_contouring_intersection_oracles PRIVATE CGAL::Eigen3_support)
|
||||||
|
|
||||||
|
if(TARGET CGAL::TBB_support)
|
||||||
|
target_link_libraries(dual_contouring_octree PRIVATE CGAL::TBB_support)
|
||||||
|
target_link_libraries(dual_contouring_strategies PRIVATE CGAL::TBB_support)
|
||||||
|
target_link_libraries(dual_contouring_intersection_oracles PRIVATE CGAL::TBB_support)
|
||||||
|
endif()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
message(STATUS "NOTICE: tests require the Eigen library, and will not be compiled.")
|
message(STATUS "NOTICE: tests require the Eigen library, and will not be compiled.")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue