Reorder library linking so symbols are properly resolved
[WPS.git] / compile_new
blob721df9d3bf24d49654ac6469396f68941d926862
1 #!/bin/sh
2 # Meant to be run at the top level
4 # Now run cmake
5 buildDirectory=$1
6 if [ ! -d "$buildDirectory" ]; then
7 buildDirectory=$PWD/_build
8 echo "Using default build directory : ${buildDirectory}"
9 else
10 shift
12 cd $buildDirectory && make install $*
13 exit $?