From 2edc292f7ea24f315cabc576dce059d6be970d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Tue, 16 Feb 2016 17:25:19 +0100 Subject: [PATCH] Drop -p option The required code is no longer supported after the removal of CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT --- Scripts/scripts/cgal_create_CMakeLists | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Scripts/scripts/cgal_create_CMakeLists b/Scripts/scripts/cgal_create_CMakeLists index a0bc8022a50..2331ff76c32 100755 --- a/Scripts/scripts/cgal_create_CMakeLists +++ b/Scripts/scripts/cgal_create_CMakeLists @@ -119,7 +119,6 @@ if [ -n "$ENABLE_CTEST" ]; then fi #--------------------------------------------------------------------------- # echo "CGAL_COMPONENTS: $CGAL_COMPONENTS" - # echo "CGAL_PRECONFIGURED_LIBS: $CGAL_PRECONFIGURED_LIBS" if [ ! -z "$CGAL_COMPONENTS" ]; then # ensure capitalization @@ -172,10 +171,6 @@ fi fi - if [ "$CGAL_PRECONFIGURED_LIBS" = "y" ]; then - CGAL_COMPONENTS=${CGAL_COMPONENTS}" ALL_PRECONFIGURED_LIBS" - fi - echo "find_package( CGAL QUIET COMPONENTS ${CGAL_COMPONENTS//:/ } )" #vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv @@ -511,7 +506,6 @@ usage() echo " -s source If this parameter is given the script will create one single executable for 'source' with all source files; otherwise it creates one executable for each main'ed source." >&2 echo " cgal_componentX - must be a valid cgal component, examples are 'Core','ImageIO','Qt4' ('benchmark', 'symbolic')." >&2 echo " boost_componentX - must be a valid boost component, like 'filesystem', 'program_options'." >&2 - echo " -p use all of CGAL's preconfigured libraries" >&2 echo " -o options_file - file with PACKAGE, DIRECTORY, CGAL_COMPONENT, and BOOST_COMPONENT directives" >&2 echo " -v the version" >&2 echo " -h this info screen" >&2 @@ -525,8 +519,6 @@ SOURCE="" CGAL_COMPONENTS_GIVEN="" CGAL_COMPONENTS="" -CGAL_PRECONFIGURED_LIBS='n' - BOOST_COMPONENTS_GIVEN="" BOOST_COMPONENTS="" @@ -599,8 +591,6 @@ while getopts s:c:b:o:phvt OPT; do exit 1 fi ;; - p) CGAL_PRECONFIGURED_LIBS='y' - ;; t) ENABLE_CTEST='y' ;; h) usage