Files
cgal/Scripts/developer_scripts/do_what_i_mean
T
Laurent Rineau 36567b77e8 Add a "do what i mean" script, to replace the following steps:
- create a default CMakeLists.txt with cgal_create_cmake_script,
  - call "cmake ." (it will work only if CGAL_DIR is defined in the
    environment),
  - call "make -f Makefile" (-f Makefile is needed if an old file
    "makefile" is here).
2008-10-03 13:47:11 +00:00

10 lines
133 B
Bash
Executable File

#!/bin/sh
[ -r CMakeLists.txt ] || cgal_create_cmake_script
[ -r Makefile ] || cmake .
if [ $? == 0 ]; then
make -f Makefile
fi