Commit a3d74da4 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Place of the libs ( in build//lib ) instead of build/ in

parent ad0e6c57
......@@ -59,6 +59,8 @@ fi
mkdir -p "$build_dir"
mkdir -p "$build_dir/lib"
mkdir -p "$blaar_build_dir/Release"
[ -d build ] || ln -s "$blaar_build_dir" build
......@@ -68,6 +70,6 @@ cd $build_dir
#On mac and linux -nt does not return the same if the file does not exist. We have to check the no existance or seniority
[ ! -e -o $project_dir/CMakeLists.txt -nt ] && {
cmake --no-warn-unused-cli -GNinja $project_dir -DCMAKE_BUILD_TYPE=$build_type -DLIBRARY_OUTPUT_PATH="${blaar_build_dir}/${build_type}" -DEXECUTABLE_OUTPUT_PATH="${blaar_build_dir}/${build_type}"
cmake --no-warn-unused-cli -GNinja $project_dir -DCMAKE_BUILD_TYPE=$build_type -DLIBRARY_OUTPUT_PATH="${blaar_build_dir}/${build_type}/lib" -DEXECUTABLE_OUTPUT_PATH="${blaar_build_dir}/${build_type}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment