mirror of https://github.com/CGAL/cgal
59 lines
2.2 KiB
CMake
59 lines
2.2 KiB
CMake
# Created by the script cgal_create_cmake_script
|
|
# This is the CMake script for compiling a CGAL application.
|
|
|
|
|
|
project( STL_Extension_test )
|
|
|
|
cmake_minimum_required(VERSION 2.8.11)
|
|
|
|
|
|
find_package(CGAL QUIET COMPONENTS Core )
|
|
|
|
if ( CGAL_FOUND )
|
|
|
|
include( ${CGAL_USE_FILE} )
|
|
|
|
find_package( TBB QUIET )
|
|
|
|
if( TBB_FOUND )
|
|
include(${TBB_USE_FILE})
|
|
list(APPEND CGAL_3RD_PARTY_LIBRARIES ${TBB_LIBRARIES})
|
|
endif()
|
|
|
|
include( CGAL_CreateSingleSourceCGALProgram )
|
|
|
|
include_directories (BEFORE "../../include")
|
|
|
|
create_single_source_cgal_program( "test_Boolean_tag.cpp" )
|
|
create_single_source_cgal_program( "test_Cache.cpp" )
|
|
create_single_source_cgal_program( "test_Compact_container.cpp" )
|
|
create_single_source_cgal_program( "test_Compact_container_is_used.cpp" )
|
|
create_single_source_cgal_program( "test_complexity_tags.cpp" )
|
|
create_single_source_cgal_program( "test_composition.cpp" )
|
|
create_single_source_cgal_program( "test_Concatenate_iterator.cpp" )
|
|
create_single_source_cgal_program( "test_Concurrent_compact_container.cpp" )
|
|
create_single_source_cgal_program( "test_dispatch_output.cpp" )
|
|
create_single_source_cgal_program( "test_Flattening_iterator.cpp" )
|
|
create_single_source_cgal_program( "test_Handle_with_policy.cpp" )
|
|
create_single_source_cgal_program( "test_In_place_list.cpp" )
|
|
create_single_source_cgal_program( "test_is_iterator.cpp" )
|
|
create_single_source_cgal_program( "test_is_streamable.cpp" )
|
|
create_single_source_cgal_program( "test_lexcompare_outputrange.cpp" )
|
|
create_single_source_cgal_program( "test_Modifiable_priority_queue.cpp" )
|
|
create_single_source_cgal_program( "test_multiset.cpp" )
|
|
create_single_source_cgal_program( "test_N_tuple.cpp" )
|
|
create_single_source_cgal_program( "test_namespaces.cpp" )
|
|
create_single_source_cgal_program( "test_Nested_iterator.cpp" )
|
|
create_single_source_cgal_program( "test_Object.cpp" )
|
|
create_single_source_cgal_program( "test_stl_extension.cpp" )
|
|
create_single_source_cgal_program( "test_type_traits.cpp" )
|
|
create_single_source_cgal_program( "test_Uncertain.cpp" )
|
|
create_single_source_cgal_program( "test_vector.cpp" )
|
|
|
|
else()
|
|
|
|
message(STATUS "This program requires the CGAL library, and will not be compiled.")
|
|
|
|
endif()
|
|
|