CMake: allow skipping include of settings.cmake#40
CMake: allow skipping include of settings.cmake#40axel-h wants to merge 2 commits intoseL4:masterfrom
Conversation
415cc22 to
beca6a3
Compare
|
What is your build system setting up before including sel4test? Could you instead include |
|
Our build system basically does what |
But isn't this already a modification? The coupling between settings.cmake and CMakeLists.txt isn't a stable public interface. settings.cmake contains many sel4test specific options and options can be moved between CMakeLists.txt and settings.cmake without causing external breakages.
|
|
Thanks, I will give this a try. |
|
@axel-h, feel free to merge this if you still need the change |
|
I have not found a better solution yet for our use case with a different/custom build system. I will check our internal CI one more tomorrow and merge this then. Thanks. |
|
I think this can be merged. |
Signed-off-by: Axel Heider <axelheider@gmx.de>
|
@axel-h this PR should either be closed or merged — happy to merge it if it’s useful for you, otherwise I’d close it. |
My build system currently sets up everything and then uses
add_subdirectory()to include sel4test. This patch allow building sel4test then. Maybe there is a smarter solution here by impersonatingsettings.cmakesomehow to this does nothing?