-
Notifications
You must be signed in to change notification settings - Fork 129
#550 cmake build is missing key features to be properly usable via fetchcontent #551
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
Conversation
Thank you for the CMake improvements! I have not used all the CMake constructs you use here, but from what I see this all looks sensible :) |
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.
Thank you @tbleher for the feedback.
From my side: I tested the basic functionality, so to build the osi-project and had no issues.
So together a +1 :)
@tbleher and @ThomasNaderBMW Thanks for your feedback. |
Our simulation models are still building with the changes. Therefore the changes are fine for me |
Output CCB 19.01.2022:
|
Output CCB 02.02.2022:
|
Output CCB 25.04.2022:
|
Output CCB 16.05.2022: Can be merged. |
Use option() to set cache variables Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
* Fix the cache variables * Copy the headers to the appropriate location in the PROJECT_BINARY_DIR * Rewrite the package config file template * Create proper config, version, and target files using CMakePackageConfigHelpers * Export and install namespaced targets Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
…evel Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
be31c99
to
5a02aed
Compare
Reference to a related issue in the repository
Resolves #550
Add a description
This PR aims to modernize the installation logic of the project by:
This modernization will make the project usable via FetchContent by a downstream project.
Take this checklist as orientation for yourself, if this PR is ready for the Change Control Board: