-
Notifications
You must be signed in to change notification settings - Fork 44
cmake: add explicit build options to QNX presets #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jan Kraemer <jan.kraemer@vector.com>
CMakePresets.json
Outdated
| { | ||
| "name": "x-cross-qnx-x86_64", | ||
| "generator": "Unix Makefiles", | ||
| "generator": "Ninja", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recall having a hard time crosscompiling using Ninja on Windos when I created this. does this work now out of the box?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
CMakePresets.json
Outdated
| "SILKIT_BUILD_UTILITIES": "ON", | ||
| "SILKIT_WARNINGS_AS_ERRORS": "OFF", | ||
| "SILKIT_PACKAGE_SYMBOLS": "ON", | ||
| "SILKIT_INSTALL_SOURCE": "OFF", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why INSTALL_SOURCE is significant here. We do not create packages using this preset anyways?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it, since it is the default (OFF) anyway
VDanielEdwards
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍 I saw that the preset defined the environment variable SILKIT_CMAKE_PRESET_BUILD_PLATFORM. However this does not seem to be used anywhere?
Description
QNX needs specific CMAKE Options since not all options work with the SDK and toolchains for QNX
Developer checklist (address before review)
Changelog.md updatedNo user visible changePrepared update for depending repositoriesDocumentation updated (public API changes only)API docstrings updated (public API changes only)