Clion: How can I run CMake Install for an individual component?
I have a CMakeLists.txt file that defines a couple of different installable components, something like this:
install(TARGETS A COMPONENT A ...)
install(TARGETS B COMPONENT B ...)If I click the Build/Install button, both components are installed, and the build window shows that CLion executed something like `cmake.exe --build <blah> --target install`.
If I open a console window and run `cmake --build <blah> --target install --component A`, so my CMakeLists seems to be ok.
Is there any way I can have CLion install an individual component I choose?
Please sign in to leave a comment.