mirror of https://github.com/CGAL/cgal
remove -w and -g option of install_cgal
remove makefile variables CGAL_WINDOW_LDFLAGS, CGAL_GEOWIN_LDFLAGS and CGAL_QT_LDFLAGS (see #1894)
This commit is contained in:
parent
d7494960f0
commit
cd1a040d2e
|
|
@ -132,10 +132,8 @@ The following options are available to indicate the kind of makefile
|
|||
to create:
|
||||
\begin{description}
|
||||
\item[-d] create a default CGAL makefile
|
||||
\item[-t] create a makefile for the test suite
|
||||
\item[-w] create a makefile with flags for LEDA windows
|
||||
\item[-g] create a makefile with flags for GEOWIN
|
||||
\item[-q] create a makefile with flags for QT
|
||||
\item[-t] create a CGAL makefile for the test suite
|
||||
\item[-q] create a CGAL makefile with Qt support
|
||||
\end{description}
|
||||
|
||||
You should use this script to create makefiles for testing before submitting
|
||||
|
|
|
|||
|
|
@ -4004,12 +4004,6 @@ write_linker_flags()
|
|||
fi
|
||||
${_printf} "\n\n" >> ${FILE}
|
||||
|
||||
|
||||
print_as_shell_comment " The following flags are obsolete" >> ${FILE}
|
||||
${_printf} "%s\n\n" "CGAL_WINDOW_LDFLAGS = \$(CGAL_LDFLAGS)" >> ${FILE}
|
||||
${_printf} "%s\n\n" "CGAL_GEOWIN_LDFLAGS = \$(CGAL_LDFLAGS)" >> ${FILE}
|
||||
${_printf} "%s\n\n" "CGAL_QT_LDFLAGS = \$(CGAL_LDFLAGS)" >> ${FILE}
|
||||
|
||||
for i in ${SUPPORT_FEATURES}; do
|
||||
if [ -n "`value_of \"PROVIDE_PKG_${i}\"`" ]; then
|
||||
print_as_shell_comment "*** linker flags for feature ${i} ***" >> ${FILE}
|
||||
|
|
|
|||
|
|
@ -29,10 +29,8 @@
|
|||
# Usage: cgal_create_makefile [-options] [outputfile]
|
||||
#
|
||||
# -d create a default CGAL makefile
|
||||
# -t create a makefile for the test suite
|
||||
# -w create a makefile with flags for LEDA windows
|
||||
# -g create a makefile with flags for GEOWIN
|
||||
# -q create a makefile with support for QT
|
||||
# -t create a CGAL makefile for the test suite
|
||||
# -q create a CGAL makefile with Qt support
|
||||
|
||||
|
||||
#VERSION=2.0
|
||||
|
|
@ -112,26 +110,14 @@ create_makefile()
|
|||
if [ ! -z "$TESTSUITE" ] ; then
|
||||
echo " \$(TESTSUITE_LIBPATH) \\"
|
||||
fi
|
||||
if [ -z "$LEDAWINDOWS" ] ; then
|
||||
echo " \$(CGAL_LIBPATH)"
|
||||
else
|
||||
echo " \$(CGAL_WINDOW_LIBPATH)"
|
||||
fi
|
||||
echo
|
||||
echo "LDFLAGS = \\"
|
||||
if [ ! -z "$TESTSUITE" ] ; then
|
||||
echo " \$(TESTSUITE_LDFLAGS) \\"
|
||||
fi
|
||||
echo " \$(LONG_NAME_PROBLEM_LDFLAGS) \\"
|
||||
if [ -n "$QT" ] ; then
|
||||
echo " \$(CGAL_QT_LDFLAGS)"
|
||||
elif [ -n "$GEOWIN" ] ; then
|
||||
echo " \$(CGAL_GEOWIN_LDFLAGS)"
|
||||
elif [ -z "$LEDAWINDOWS" ] ; then
|
||||
echo " \$(CGAL_LDFLAGS)"
|
||||
else
|
||||
echo " \$(CGAL_WINDOW_LDFLAGS)"
|
||||
fi
|
||||
|
||||
echo
|
||||
header "target entries"
|
||||
|
|
@ -185,10 +171,8 @@ usage()
|
|||
echo "Usage: cgal_create_makefile [-options] [outputfile]"
|
||||
echo
|
||||
echo "-d create a default CGAL makefile"
|
||||
echo "-t create a makefile for the test suite"
|
||||
echo "-w create a makefile with flags for LEDA windows"
|
||||
echo "-g create a makefile with flags for GEOWIN"
|
||||
echo "-q create a makefile with flags for QT"
|
||||
echo "-t create a CGAL makefile for the test suite"
|
||||
echo "-q create a CGAL makefile with Qt support"
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -202,8 +186,6 @@ for i do
|
|||
case $i in
|
||||
-d) ;;
|
||||
-t) TESTSUITE='y';;
|
||||
-w) LEDAWINDOWS='y';;
|
||||
-g) GEOWIN='y';;
|
||||
-q) QT='y';;
|
||||
-*) usage
|
||||
exit 1;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue