mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
- updated eclipse generator script to give more info about what it does
This commit is contained in:
@@ -4,17 +4,20 @@
|
|||||||
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
|
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
|
||||||
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
|
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
|
||||||
|
|
||||||
|
CURRENTDIR="$(dirname $(readlink -f $0))"
|
||||||
mkdir -p eclipse
|
mkdir -p eclipse
|
||||||
cd eclipse
|
cd eclipse
|
||||||
|
|
||||||
if [ -f 'CMakeCache.txt' ]; then rm -f 'CMakeCache.txt'; fi
|
if [ -f 'CMakeCache.txt' ]; then rm -f 'CMakeCache.txt'; fi
|
||||||
|
|
||||||
# This is for regular developers and used by our installer
|
# This is for regular developers and used by our installer
|
||||||
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_INSTALL_PREFIX= -DWANT_STATIC_LIBS=ON ..
|
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_INSTALL_PREFIX= -DWANT_STATIC_LIBS=ON ${CURRENTDIR}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo 'ERROR: CMAKE failed.' >&2; exit 1
|
echo 'ERROR: CMAKE failed.' >&2; exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ${CURRENTDIR}
|
||||||
echo ''
|
echo ''
|
||||||
echo 'Eclipse Project files aee created in the folder 'eclipse'
|
echo '*** Eclipse Project files [.project and .cproject] are created in the folder: [eclipse] and can be imported'
|
||||||
|
echo ''
|
||||||
|
ls -la eclipse
|
||||||
|
Reference in New Issue
Block a user