From 8803b9d91f060c77f4ff297721ec77462b1627ab Mon Sep 17 00:00:00 2001 From: TomBraun Date: Fri, 4 Jul 2014 08:20:49 +0200 Subject: [PATCH] accept fix server don't configure changes are now in configure fille --- s/cmake-init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/s/cmake-init b/s/cmake-init index d5ab5f66d..9b5a606f9 100755 --- a/s/cmake-init +++ b/s/cmake-init @@ -9,10 +9,13 @@ while [ ! -d $ROOT/.git ]; do done [ -z $BUILD ] && BUILD=Debug - +MACHINE=`uname -m` [ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc" [ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc" [ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc" +BIN_DIR="build-$MACHINE-$CC-$BUILD" +mkdir -p $BIN_DIR +cd $BIN_DIR MACHINE=$(gcc -dumpmachine) rm -f CMakeCache.txt @@ -37,3 +40,4 @@ cmake .. \ -DCMAKE_PREFIX_PATH=$PREFIX_PATH \ -DCMAKE_INSTALL_PREFIX=$HOME/eressea $* cd $OLDPWD +