On 11/10/2014 07:40 PM, SF Markus Elfring wrote: >> You could, as a workaround for the problem, define a add_custom_target >> that removes the corresponding rpm/deb packages and just calls 'cmake >> --build --target package' to regenerate them. > Thanks for your suggestion. > > >> It's not an ideal solution, but it worked just fine for me. > Does this feedback mean that you stumbled also on missing build > dependencies around generation of DEB and RPM packages with CPack? > > Regards, > Markus Not sure.. cpack is an external tool in the perspective of cmake, so in that respect I don't think you need/want this kind of integration. On the other hand, this type of operation does seem to pop up quite often. I actually don't know if this is an omission or a deliberate design choice.
Regards, Micha
signature.asc
Description: OpenPGP digital signature
-- 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: http://public.kitware.com/mailman/listinfo/cmake
