git.stg.codes
/
stg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update CMakeLists.txt
[stg.git]
/
functest
/
build.sh
1
#!/bin/sh
2
3
BASEPATH=$1
4
5
if [ "$BASEPATH" == "" ]
6
then
7
printf "Usage: $0 <path>\n"
8
exit -1
9
fi
10
11
if [ ! -d "$BASEPATH" ]
12
then
13
printf "Path '$BASEPATH' does not exist or not a directory.\n"
14
exit -1
15
fi
16
17
cd "$BASEPATH/stg"
18
mkdir build
19
cd build
20
cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON ..
21
make