Kornel Benko wrote:
Am Sonntag 15 Februar 2009 schrieb Peter Kuemmel:
I am not really happy with this suggestion. At least for the cmake-build
we have the modul CPack, which does all what is needed for free.
Compare the creation of e.g. a binary rpm-package in cmake
      cpack -G RPM --config CPackConfig.cmake
I think a distribution sensitive solution would be to use in
CPackConfig.cmake the rpm spec file.

Peter, did you consider, that CPackConfig.cmake is a file created from cmake?

The doc says:

#  --config <config file>: Specify the config file.
Specify the config file to use to create the package.
By default CPackConfig.cmake in the current directory will be used.


Therefore we could write our own config file which then includes the generated 
one.

Peter

In this sense, it is always distribution sensitive. My two cents.

        Kornel

Reply via email to