alpaka
alpaka copied to clipboard
[RFC] Mark CATCH cmake variables as advanced
I just noticed that we got a lot of cmake variables from Catch2 in the default view of ccmake
:
Since I don't think that we should tamper with these variables, I would like to mark them as advanced in cmake, so they are hidden by default.
I don't think this is the right approach. We should probably use ExternalProject
(https://cmake.org/cmake/help/v3.18/module/ExternalProject.html) instead.
If that gets rid of the CATCH_*
cmake variables, I am all for it!
@j-stephan are you going to do the thing with ExternalProject
? If not, are you fine with my suggested approach? If not, then I would close the issue.
Not right now, but I'm still for trying out ExternalProject
. Shouldn't be that hard I think.
Ok then, go for it! :)
I just tried it with FetchContent
which should be really similar to ExternalProject
. The variables still show up in ccmake
so feel free to try out your approach.