On Thu, 2019-10-03 at 16:15 -0400, stefan wrote: > I'm trying to generate (debian) packages for a project of mine using > cmake. I need to generate multiple components ("runtime", > "development", etc.). What is the expected way to have the > "development" package depend on the "runtime" package ? > I'v been trying to play with the > CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS setting, but so far wasn't able > to have my packages contain the expected dependencies in their > metadata. > Thanks,
Please take a look at cpack_add_component(): https://cmake.org/cmake/help/latest/module/CPackComponent.html 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