cget
cget copied to clipboard
Use requirements.cmake as an alternative to requirements.txt
Does this mean that the requirements.cmake file could have arbitrary CMake commands? I like the simplicity of having the requirements file not be a script.
Oh sorry I just saw #14. Now I understand.
Does this mean that the requirements.cmake file could have arbitrary CMake commands?
Yes.
I like the simplicity of having the requirements file not be a script.
I do as well, however some users may need more complicated logic to decide requirements. Perhaps, a library would like to detect if a certain component is in the standard library, and then use a third-party implementation if not available.