Re: [CMake] CPACK_COMPONENT__DEPENDS doesn't work

2013-11-20 Thread Jeremy Fix
On 11/20/2013 09:52 AM, Eric Noulard wrote: 2013/11/20 Jeremy Fix : Hello, I'm surprised CPACK_RPM_gui_PACKAGE_REQUIRES works , I don't find any use of CPACK_RPM__REQUIRES in CPackRPM.cmake; Yes there is for all URL REQUIRES SUGGESTS PROVIDES OBSOLETES PREFIX CONFLICTS AUTOPR

Re: [CMake] CPACK_COMPONENT__DEPENDS doesn't work

2013-11-20 Thread Jeremy Fix
Hello, I'm surprised CPACK_RPM_gui_PACKAGE_REQUIRES works , I don't find any use of CPACK_RPM__REQUIRES in CPackRPM.cmake; What I can suggest you for generating several packages with different dependencies is to generate the different packages in multiple steps. If we suppose you defined 2 c

[CMake] Building binary and devel RPM

2013-11-15 Thread Jeremy Fix
Hello, I'm trying to build two RPMs within a CMake project that defines a library. Let us call the package toto. I then want a: - toto--.rpm which contains the library and the compiled examples - toto-devel--.rpm which contains the headers, documentation, pkg-config file I'm doing so by