diff options
author | Yehonal <hw.2@hotmail.it> | 2016-07-08 23:58:11 +0200 |
---|---|---|
committer | Yehonal <hw.2@hotmail.it> | 2016-07-08 23:58:11 +0200 |
commit | 9fd22872c0e5f52ad47f8cd002111489738b7dda (patch) | |
tree | 4df701d097ff76cc566693979994b5befed3bc8d /bin/compiler/2-configure.sh | |
parent | eda1171939b6d7d951aef2da5b4bbb4e926c1f4a (diff) |
restructured repository based on following standards:
https://github.com/HW-Core/directory-structure
Diffstat (limited to 'bin/compiler/2-configure.sh')
-rwxr-xr-x | bin/compiler/2-configure.sh | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/bin/compiler/2-configure.sh b/bin/compiler/2-configure.sh index c74b52f3e2..6acc934686 100755 --- a/bin/compiler/2-configure.sh +++ b/bin/compiler/2-configure.sh @@ -1,19 +1,8 @@ #!/bin/bash +CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -. "defines.sh" +source "$CURRENT_PATH/includes/common.sh" -CWD=$(pwd) +source "$CURRENT_PATH/includes/includes.sh" -cd $BUILDPATH - -echo "Build path: $BUILDPATH" -echo "DEBUG info: $CDEBUG" -echo "Compilation type: $CCTYPE" -# -DCMAKE_BUILD_TYPE=$CCTYPE disable optimization "slow and huge amount of ram" -# -DWITH_COREDEBUG=$CDEBUG compiled with debug information - -cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH -DCONF_DIR=$CONFDIR -DSERVERS=$CSERVERS -DSCRIPTS=$CSCRIPTS \ --DCMAKE_C_COMPILER=$COMPILER_C -DCMAKE_CC_COMPILER=$COMPILER_CC -DCMAKE_CXX_COMPILER=$COMPILER_CXX \ --DTOOLS=$CTOOLS -DUSE_SCRIPTPCH=$CSCRIPTPCH -DUSE_COREPCH=$CCOREPCH -DWITH_COREDEBUG=$CDEBUG -DCMAKE_BUILD_TYPE=$CCTYPE -DWITH_WARNINGS=$CWARNINGS - -cd $CWD +configure |