[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}"
|
distDir="${project}/dist/${TARGET}-${BUILD_TYPE}"
|
||||||
|
|
||||||
mkdir -p $buildDir
|
mkdir -p $buildDir
|
||||||
pushd $buildDir
|
cmake -S $project -B $buildDir \
|
||||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||||
-DCMAKE_INSTALL_PREFIX="$distDir" \
|
-DCMAKE_INSTALL_PREFIX="$distDir" \
|
||||||
-DCMAKE_INSTALL_RPATH="$project/dist/${TARGET}-${BUILD_TYPE}/lib/nostalgia" \
|
-DCMAKE_INSTALL_RPATH="$project/dist/${TARGET}-${BUILD_TYPE}/lib/nostalgia" \
|
||||||
-DNOSTALGIA_IDE_BUILD=OFF \
|
-DNOSTALGIA_IDE_BUILD=OFF \
|
||||||
@ -44,9 +44,7 @@ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|||||||
$BUILD_TYPEArgs \
|
$BUILD_TYPEArgs \
|
||||||
$sanitizerArgs \
|
$sanitizerArgs \
|
||||||
$qtPath \
|
$qtPath \
|
||||||
$toolchain \
|
$toolchain
|
||||||
$project
|
|
||||||
popd
|
|
||||||
|
|
||||||
rm -f build/current dist/current
|
rm -f build/current dist/current
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
|
Loading…
Reference in New Issue
Block a user