On Thu, 2019-10-03 at 16:42 -0400, stefan wrote: > My project is already using this style: > set(CPACK_COMPONENTS_ALL runtime development mstool) > > i.e. all components are already defined. All that's missing is the > declaration of their (inter-)dependencies. > Are you suggesting I should *not* use CPACK_COMPONENTS_ALL, but > instead call `cpack_add_component()` instead ? > Thanks,
That's how I prefer to do it. Alternatively, you could set CPACK_COMPONENT_<compName>_DEPENDS directly (that's all that cpack_add_component() is doing.) Kyle -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake