diff --git a/Scripts/developer_scripts/create_cgal_test_with_cmake b/Scripts/developer_scripts/create_cgal_test_with_cmake index b2087381f17..50980699873 100755 --- a/Scripts/developer_scripts/create_cgal_test_with_cmake +++ b/Scripts/developer_scripts/create_cgal_test_with_cmake @@ -70,7 +70,12 @@ configure() { echo "Configuring... " - if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE -DCGAL_DIR="\$CGAL_DIR" .' ; then + if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\ + -DCGAL_DIR="\$CGAL_DIR" \\ + -DCGAL_CXX_FLAGS="\$TESTSUITE_CXXFLAGS" \\ + -DCGAL_EXE_LINKER_FLAGS="\$TESTSUITE_LDFLAGS" \\ + .' ; then + echo " succesful configuration" >> \$ERRORFILE else echo " ERROR: configuration" >> \$ERRORFILE @@ -86,9 +91,7 @@ compile_and_run() echo "Compiling \$1 ... " SUCCES="y" - if eval '\${MAKE_CMD} TESTSUITE_CXXFLAGS="\$TESTSUITE_CXXFLAGS" \\ - TESTSUITE_LDFLAGS="\$TESTSUITE_LDFLAGS" \\ - VERBOSE=1 -fMakefile \$1' ; then + if eval '\${MAKE_CMD} VERBOSE=1 -fMakefile \$1' ; then echo " succesful compilation of \$1" >> \$ERRORFILE else echo " ERROR: compilation of \$1" >> \$ERRORFILE diff --git a/Scripts/scripts/cgal_create_cmake_script b/Scripts/scripts/cgal_create_cmake_script index d1b3fca4b60..bdc44628e32 100755 --- a/Scripts/scripts/cgal_create_cmake_script +++ b/Scripts/scripts/cgal_create_cmake_script @@ -28,7 +28,6 @@ # # Usage: cgal_create_cmake_script [-options] # -# -d create a default CGAL cmake script # -q create a CGAL cmake script with Qt support