]> git.stg.codes - stg.git/blobdiff - functest/build.sh
Fix build on Darwin.
[stg.git] / functest / build.sh
index a84e9e0d8c07e307fc09f2db0904f151333a4952..e5c47a8be1f00598919d45c37f5faee8b9bbc62a 100755 (executable)
@@ -14,12 +14,8 @@ then
     exit -1
 fi
 
-cd "$BASEPATH/stg/projects/stargazer"
-./build debug
-make clean
-make
-
-cd "$BASEPATH/stg/projects/sgconf"
-./build debug
-make clean
+cd "$BASEPATH/stg"
+mkdir build
+cd build
+cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON ..
 make