mirror of https://github.com/CGAL/cgal
Compatibility: no -C option if INIT_FILE is unset or null
This commit is contained in:
parent
bb14479266
commit
8c744204de
|
|
@ -129,16 +129,14 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
rm -rf CMakeCache.txt CMakeFiles/
|
rm -rf CMakeCache.txt CMakeFiles/
|
||||||
echo "cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
echo "cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR=\"$CGAL_DIR\" \
|
-DCGAL_DIR=\"$CGAL_DIR\" \
|
||||||
-DINIT_FILE=\"$INIT_FILE" \
|
|
||||||
-DCGAL_CXX_FLAGS:STRING=\"$TESTSUITE_CXXFLAGS -I../../include\" \
|
-DCGAL_CXX_FLAGS:STRING=\"$TESTSUITE_CXXFLAGS -I../../include\" \
|
||||||
-DCGAL_EXE_LINKER_FLAGS=\"$TESTSUITE_LDFLAGS\" \
|
-DCGAL_EXE_LINKER_FLAGS=\"$TESTSUITE_LDFLAGS\" \
|
||||||
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
||||||
."
|
."
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
-DCGAL_CXX_FLAGS:STRING="$TESTSUITE_CXXFLAGS -I../../include" \
|
-DCGAL_CXX_FLAGS:STRING="$TESTSUITE_CXXFLAGS -I../../include" \
|
||||||
-DCGAL_EXE_LINKER_FLAGS="$TESTSUITE_LDFLAGS" \
|
-DCGAL_EXE_LINKER_FLAGS="$TESTSUITE_LDFLAGS" \
|
||||||
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C$INIT_FILE"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,6 @@ configure()
|
||||||
|
|
||||||
if eval 'cmake -C"\$INIT_FILE" "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
if eval 'cmake -C"\$INIT_FILE" "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||||
-DCGAL_DIR="\$CGAL_DIR" \\
|
-DCGAL_DIR="\$CGAL_DIR" \\
|
||||||
-DINIT_FILE="\$INIT_FILE" \\
|
|
||||||
--no-warn-unused-cli \\
|
--no-warn-unused-cli \\
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,8 @@ configure()
|
||||||
{
|
{
|
||||||
echo "Configuring... "
|
echo "Configuring... "
|
||||||
|
|
||||||
if eval 'cmake -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> $ERRORFILE
|
echo " successful configuration" >> $ERRORFILE
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,8 @@ configure()
|
||||||
|
|
||||||
rm CMakeCache.txt
|
rm CMakeCache.txt
|
||||||
|
|
||||||
if eval 'cmake --no-warn-unused-cli -C"$INIT_FILE" "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
if eval 'cmake --no-warn-unused-cli ${INIT_FILE:+"-C${INIT_FILE}"} "$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \
|
||||||
-DCGAL_DIR="$CGAL_DIR" \
|
-DCGAL_DIR="$CGAL_DIR" \
|
||||||
-DINIT_FILE="$INIT_FILE" \
|
|
||||||
-DCGAL_CXX_FLAGS:STRING="$TESTSUITE_CXXFLAGS" \
|
-DCGAL_CXX_FLAGS:STRING="$TESTSUITE_CXXFLAGS" \
|
||||||
-DCGAL_EXE_LINKER_FLAGS="$TESTSUITE_LDFLAGS" \
|
-DCGAL_EXE_LINKER_FLAGS="$TESTSUITE_LDFLAGS" \
|
||||||
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
-DCMAKE_BUILD_TYPE=NOTFOUND \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue