-
Notifications
You must be signed in to change notification settings - Fork 5
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
cpp_cc_git_submodule helper requires newer version of CMake than documented #100
Comments
cc: @alkino @tristan0x |
ubuntu 18.04 (LTS) install cmake 3.10.2. nmodl still needs cmake >= 3.8, coreneuron cmake >= 3.7. |
Thank you for noticing this @olupton |
Are these CMake versions supported for a reason or could they be bumped to CMake 3.10.2? |
OK, if the minimum version is going to remain 3.10.2 then I fear we need to change the API to something like
for the third case above. Do you know if/were this is actually used? |
I thought it was used at least in CoreNeuron, but apparently not. API can be changed at will! |
The
BUILD
andPACKAGE
keyword arguments tocpp_cc_git_submodule
are supposed to work as flags even when they are not passed values. i.e.are all supposed to do different things. This relies on the
<prefix>_KEYWORDS_MISSING_VALUES
output ofcmake_parse_arguments
, which was only added in CMake v3.15. Without this feature IIUC we cannot distinguish between the first two cases. The coding conventions' README states the minimum version is v3.10.Either we should explicitly state that v3.15 is required, or
cpp_cc_git_submodule
should be modified for compatibility with older versions.The text was updated successfully, but these errors were encountered: