mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
property changes to text files (check out with native line endings) and mk/linux/setupBuildDeps.sh (make executable)
21 lines
654 B
Bash
Executable File
21 lines
654 B
Bash
Executable File
#!/bin/bash
|
|
# Use this script to build MegaGlest Eclipse project files from CMake
|
|
# ----------------------------------------------------------------------------
|
|
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
|
|
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
|
|
|
|
mkdir -p eclipse
|
|
cd eclipse
|
|
|
|
if [ -f 'CMakeCache.txt' ]; then rm -f 'CMakeCache.txt'; fi
|
|
|
|
# This is for regular developers and used by our installer
|
|
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_INSTALL_PREFIX= -DWANT_STATIC_LIBS=ON ..
|
|
if [ $? -ne 0 ]; then
|
|
echo 'ERROR: CMAKE failed.' >&2; exit 1
|
|
fi
|
|
|
|
cd ..
|
|
echo ''
|
|
echo 'Eclipse Project files aee created in the folder 'eclipse'
|