[nostalgia] Fix setup-build cmake invokation
This commit is contained in:
parent
f59ad72ca2
commit
441edf0d37
@ -33,8 +33,8 @@ buildDir="${project}/build/${TARGET}-${BUILD_TYPE}"
|
||||
distDir="${project}/dist/${TARGET}-${BUILD_TYPE}"
|
||||
|
||||
mkdir -p $buildDir
|
||||
pushd $buildDir
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||
cmake -S $project -B $buildDir \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||
-DCMAKE_INSTALL_PREFIX="$distDir" \
|
||||
-DCMAKE_INSTALL_RPATH="$project/dist/${TARGET}-${BUILD_TYPE}/lib/nostalgia" \
|
||||
-DNOSTALGIA_IDE_BUILD=OFF \
|
||||
@ -44,9 +44,7 @@ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||
$BUILD_TYPEArgs \
|
||||
$sanitizerArgs \
|
||||
$qtPath \
|
||||
$toolchain \
|
||||
$project
|
||||
popd
|
||||
$toolchain
|
||||
|
||||
rm -f build/current dist/current
|
||||
mkdir -p dist
|
||||
|
Loading…
Reference in New Issue
Block a user