mirror of https://github.com/CGAL/cgal
Check for CMakeLists.txt also in demos
This commit is contained in:
parent
727cb4336c
commit
a7c5c92f2f
|
|
@ -85,7 +85,7 @@ fi
|
||||||
|
|
||||||
#check cmake scripts of tests, examples are present
|
#check cmake scripts of tests, examples are present
|
||||||
echo '.. Checking if all CMakeLists.txt are present...'
|
echo '.. Checking if all CMakeLists.txt are present...'
|
||||||
for i in `ls -d ^build*/examples/*/ ^build*/test/*/`; do
|
for i in `ls -d ^build*/examples/*/ ^build*/test/*/ ^build*/demo/^(icons|resources)/`; do
|
||||||
if ! [ -f $i/CMakeLists.txt ]; then
|
if ! [ -f $i/CMakeLists.txt ]; then
|
||||||
echo "Error: $i/CMakeLists.txt does not exist!"
|
echo "Error: $i/CMakeLists.txt does not exist!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# This is the CMake script for compiling a CGAL application.
|
# This is the CMake script for compiling a CGAL application.
|
||||||
|
|
||||||
|
|
||||||
project( Three_test )
|
project( Three_Demo )
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8.10)
|
cmake_minimum_required(VERSION 2.8.10)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue