Skip to content

Commit 2c0c743

Browse files
committed
cmake: add explicit build options to QNX presets
Signed-off-by: Jan Kraemer <jan.kraemer@vector.com>
1 parent 8659e80 commit 2c0c743

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

CMakePresets.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,13 @@
120120
"name": "x-cross-qnx-x86_64",
121121
"generator": "Unix Makefiles",
122122
"inherits": [ "mixin-dirs" ],
123-
"environment": {
124-
"SILKIT_CMAKE_PRESET_BUILD_PLATFORM": "qnx"
125-
},
126123
"toolchainFile": "${sourceDir}/SilKit/cmake/toolchain-qnx-x86_64.cmake",
127124
"cacheVariables": {
125+
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
126+
"SILKIT_BUILD_TESTS": "ON",
127+
"SILKIT_BUILD_UTILITIES": "ON",
128+
"SILKIT_WARNINGS_AS_ERRORS": "OFF",
129+
"SILKIT_PACKAGE_SYMBOLS": "ON",
128130
"SILKIT_BUILD_DASHBOARD": "OFF"
129131
},
130132
"vendor": {
@@ -135,13 +137,13 @@
135137
}
136138
},
137139
{
138-
"inherits": "x-cross-qnx-x86_64",
139140
"name": "x-cross-qnx-armv7",
141+
"inherits": "x-cross-qnx-x86_64",
140142
"toolchainFile": "${sourceDir}/SilKit/cmake/toolchain-qnx-armv7.cmake"
141143
},
142144
{
143-
"inherits": "x-cross-qnx-x86_64",
144145
"name": "x-cross-qnx-aarch64",
146+
"inherits": "x-cross-qnx-x86_64",
145147
"toolchainFile": "${sourceDir}/SilKit/cmake/toolchain-qnx-aarch64.cmake"
146148
}
147149
],

0 commit comments

Comments
 (0)