Commit a3d74da4 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Place of the libs ( in build//lib ) instead of build/ in comile.sh

parent ad0e6c57
......@@ -59,6 +59,8 @@ fi
build_dir="$blaar_build_dir/cmake_files_${build_type}/$project_name"
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 build.ninja -o $project_dir/CMakeLists.txt -nt build.ninja ] && {
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}"
}
ninja
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