Create CMakeLists.txt if it does not exist.

This commit is contained in:
Laurent Rineau
2010-03-11 09:43:46 +00:00
parent 1c9dd58b76
commit 11d3a0655a
@@ -7,6 +7,8 @@ if [ "x${dir}" == "xdemo" ]; then
in_demo="--no-run"
fi
[ ! -e CMakeLists.txt ] && echo "No CMakeLists.txt in current directory, creating it" && cgal_create_cmake_script test
# If there is already a cgal_test_with_cmake script in the current directory, execute it.
[ ! -x cgal_test_with_cmake ] && echo "No cgal_test_with_cmake in current directory, creating it" && create_cgal_test_with_cmake ${in_demo}