2008/5/7, Erik Sjölund <[EMAIL PROTECTED]>: > Is it possible to generate a noarch rpm with cmake?
Current CPack RPM generator do only handle binary RPM. http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 However if you know that the files you are installing are all of type "noarch" you should be able to force RPM arch to "noarch" by setting SET(CPACK_RPM_PACKAGE_ARCHITECTURE "noarch") > Or the analogy in deb packages, i.e. > "Architecture: all" Note that if you need to know which other RPM specific var may be set you may have a look at: share/cmake-2.6/Modules/CPackRPM.cmake which is the cmake script called by the CPack RPM generator. Note that current RPM CPack generator implements a subset of what is done by UseRPMTools.cmake: http://www.cmake.org/Wiki/CMakeUserUseRPMTools This is subset due to a lack of time and some design issue _at the time the work was done_ -- Erk _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
