Add support for building with a different Qt

This commit is contained in:
2018-02-06 19:20:07 -06:00
parent e7a396655c
commit 2141b12b29
2 changed files with 12 additions and 1 deletions

View File

@ -21,6 +21,10 @@ if (${buildType} -eq "asan") {
$buildTypeArgs="-DCMAKE_BUILD_TYPE=Release"
}
if (${env:NOSTALGIA_QT_PATH} -ne "") {
$qtPath="-DNOSTALGIA_QT_PATH=${env:NOSTALGIA_QT_PATH}"
}
$buildDir="${project}/build/${target}-${buildType}"
$distDir="${project}/dist/${target}-${buildType}"
@ -32,6 +36,7 @@ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON `
-DNOSTALGIA_IDE_BUILD=OFF `
$buildTool `
$buildTypeArgs `
$qtPath `
$toolchain `
$project
Pop-Location