Add -C option to all cmake calls in the testsuite mechanism
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# ----------------------------------------------------
|
||||
# ----------------------------------------------------
|
||||
# autotest_cgal: a script to automagically install and
|
||||
@@ -525,7 +525,7 @@ export MAKE_CMD;
|
||||
export CGAL_BINARY_DIR;
|
||||
export CGAL_REFERENCE_CACHE_DIR;
|
||||
cd '${CGAL_BINARY_DIR}';
|
||||
cmake '${CMAKE_GENERATOR}' -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||
cmake -C"${CGAL_REFERENCE_CACHE_DIR}/init.cmake" '${CMAKE_GENERATOR}' -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||
-DCGAL_REFERENCE_CACHE_DIR="\$CGAL_REFERENCE_CACHE_DIR" \\
|
||||
VERBOSE=1 \\
|
||||
../../..;
|
||||
|
||||
@@ -80,8 +80,9 @@ configure()
|
||||
{
|
||||
echo "Configuring... "
|
||||
|
||||
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||
if eval 'cmake -C"\$INIT_FILE" "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||
-DCGAL_DIR="\$CGAL_DIR" \\
|
||||
-DINIT_FILE="\$INIT_FILE" \\
|
||||
--no-warn-unused-cli \\
|
||||
.' ; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user