![]() ![]() These can be used to selectively pull in just a subset of available things into a package (e.g. The COMPONENT keyword allows you to group installed things into separate “bags” that you can then use to refer to them later. I wanted to use if for specifying components in the CMake find_package command, but I found it actually isn’t necessary at all and you can simply use careful naming of -config.cmake files. I did a bunch of digging but can’t seem to find what it does. I am trying to understand what the COMPONENT keyword is in the CMake install command. In case anyone else might find this useful I’m including the conversations here so it’s not just for my benefit. After watching excellent talks by both Craig Scott and Deniz Bahadir I reached out to them directly via e-mail and got some very helpful responses. I recently had a number of questions around the CMake COMPONENT keyword used in the CMake install command and using COMPONENTS in the CMake find_package command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |