[E.A.] The build_cmake convert the Makefile.am files into CMakeLists.txt

files to compile with cmake.
This commit is contained in:
adam 2008-11-25 09:55:06 +00:00
parent 9a0de9f944
commit df16f011b1

9
build_cmake Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
CURRENT_DIR=`pwd`
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
cd ${CONF_DIR}
python $KERNEL_ROOT_DIR/salome_adm/cmake_files/am2cmake.py --geom
status=$?
cd ${CURRENT_DIR}
exit $status