Do not test demos

This commit is contained in:
Laurent Rineau 2017-10-20 17:01:43 +02:00
parent 9a6d8c6adb
commit e73c95d4cd
6 changed files with 10 additions and 4 deletions

View File

@ -4,6 +4,8 @@
project( Convex_hull_3_Demo )
set_property(DIRECTORY PROPERTY CGAL_NO_TESTING TRUE)
cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0053)
cmake_policy(SET CMP0053 OLD)

View File

@ -4,6 +4,8 @@
project( Geomview_Demo )
set_property(DIRECTORY PROPERTY CGAL_NO_TESTING TRUE)
cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0053)
cmake_policy(SET CMP0053 OLD)

View File

@ -722,10 +722,6 @@ function(process_CGAL_subdirectory entry subdir type_name)
endif()
endif()
endif()
if(source_dir AND type_name STREQUAL "demo")
# Do not test demos
set_property(DIRECTORY "${entry}" PROPERTY CGAL_NO_TESTING TRUE)
endif()
else()
message(STATUS "${subdir}/${ENTRY_DIR_NAME} is in dont_submit")
endif()

View File

@ -4,6 +4,8 @@
project( Interpolation_Demo )
set_property(DIRECTORY PROPERTY CGAL_NO_TESTING TRUE)
cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0053)
cmake_policy(SET CMP0053 OLD)

View File

@ -4,6 +4,8 @@
project( Polyhedron_IO_Demo )
set_property(DIRECTORY PROPERTY CGAL_NO_TESTING TRUE)
cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0053)
cmake_policy(SET CMP0053 OLD)

View File

@ -4,6 +4,8 @@
project( Surface_mesh_deformation_Demo )
set_property(DIRECTORY PROPERTY CGAL_NO_TESTING TRUE)
cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0053)
cmake_policy(SET CMP0053 OLD)