Drop -p option

The required code is no longer supported after the removal of
CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
This commit is contained in:
Philipp Möller 2016-02-16 17:25:19 +01:00
parent 0a685e82b3
commit 2edc292f7e
1 changed files with 0 additions and 10 deletions

View File

@ -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