cget icon indicating copy to clipboard operation
cget copied to clipboard

Use requirements.cmake as an alternative to requirements.txt

Open pfultz2 opened this issue 9 years ago • 3 comments

pfultz2 avatar Mar 18 '16 14:03 pfultz2

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.

chrisdembia avatar Apr 12 '16 16:04 chrisdembia

Oh sorry I just saw #14. Now I understand.

chrisdembia avatar Apr 12 '16 16:04 chrisdembia

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.

pfultz2 avatar Apr 12 '16 17:04 pfultz2