diff options
-rw-r--r-- | .github/workflows/main.yml | 1 | ||||
-rw-r--r-- | .github/workflows/release.yml | 2 | ||||
-rw-r--r-- | qbs-resources/imports/QbsApp.qbs | 2 | ||||
-rw-r--r-- | qbs-resources/imports/QbsLibrary.qbs | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73d08027c..c4726aea1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -163,6 +163,7 @@ jobs: env: BUILD_OPTIONS: | modules.cpp.compilerWrapper:clcache + modules.qbs.debugInformation:true modules.qbsbuildconfig.enableAddressSanitizer:false modules.qbsbuildconfig.enableBundledQt:true products.qbs_archive.targetName:qbs-windows-${{ github.run_id }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bc2776fb..2eb5fbe7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,6 @@ jobs: name: 'Build on Linux (gcc)', options: 'qbs.installPrefix:"" modules.cpp.compilerWrapper:ccache - modules.qbs.debugInformation:true modules.qbsbuildconfig.enableAddressSanitizer:false modules.qbsbuildconfig.enableProjectFileUpdates:false modules.qbsbuildconfig.enableUnitTests:false @@ -71,7 +70,6 @@ jobs: BUILD_OPTIONS: | qbs.installPrefix:"" modules.cpp.compilerWrapper:ccache - modules.qbs.debugInformation:true modules.qbsbuildconfig.enableUnitTests:false modules.qbsbuildconfig.enableProjectFileUpdates:false modules.qbsbuildconfig.enableAddressSanitizer:false diff --git a/qbs-resources/imports/QbsApp.qbs b/qbs-resources/imports/QbsApp.qbs index 5fe32046b..2ddb3cb38 100644 --- a/qbs-resources/imports/QbsApp.qbs +++ b/qbs-resources/imports/QbsApp.qbs @@ -10,7 +10,7 @@ QbsProduct { consoleApplication: true Group { fileTagsFilter: product.type - .concat(qbs.buildVariant === "debug" ? ["debuginfo_app"] : []) + .concat(qbs.debugInformation ? ["debuginfo_app"] : []) qbs.install: true qbs.installDir: targetInstallDir qbs.installSourceBase: buildDirectory diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs index 4923d89c4..f0769dd6c 100644 --- a/qbs-resources/imports/QbsLibrary.qbs +++ b/qbs-resources/imports/QbsLibrary.qbs @@ -28,7 +28,7 @@ QbsProduct { Group { fileTagsFilter: libType.concat("dynamiclibrary_symlink") - .concat(qbs.buildVariant === "debug" ? ["debuginfo_dll"] : []) + .concat(qbs.debugInformation ? ["debuginfo_dll"] : []) qbs.install: install qbs.installDir: targetInstallDir qbs.installSourceBase: buildDirectory |