[CMake] Automatic regeneration of software packages by CPack?

SF Markus Elfring elfring at users.sourceforge.net
Mon Nov 10 13:40:04 EST 2014


> 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


More information about the CMake mailing list