-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/20/2013 05:01 PM, Eric Noulard wrote: > 2013/3/20 Theodore Papadopoulo <theodore.papadopo...@inria.fr>:
>>> And do you observe differences when you do that? >> >> As I said above, no there is no difference in my case because the >> set of file is fixed. But the difference will appear if a new >> file is added in a component. > > No I don't think so, but I shall check with an example. I'm confident you will see the problem. > Theoretical explanation is: the variable (@ or $) get expanded > when CPack runs (i.e. at CPack time) not when CMake runs (i.e. at > CMake time) so adding a file to the component implies > CMakeLists.txt change which will trigger CMake re-run then when > CPack run the content of CPACK_RPM_* will be updated as well. But then the $ should be escaped because the ${} are also expanded in the string of the file(WRITE ...). > I know NSIS should work since it has full component support the > main difference being that NSIS always generate a single installer > file whereas DEB and RPM do generate 1 file per component group. > see: cpack --help-variable CPACK_COMPONENTS_GROUPING > > So yes DEB is very similar to RPM. I don't know MacOS BUNDLE enough > to tell you the limitation. We will see. Anyhow, we already have scripts for Mac and the mac maintainer for now will probably prefer to use them... So as far as DEB is very similar to RPM and NSIS works, that very nice for us. Thanks. Theo. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFJ5JcACgkQEr8WrU8nPV2YLgCgrpyuULNjhxW7PHIWqVNyuMKI ceMAnjWvrbnkOsBN4/W4OYvjPAD/kOui =CQHA -----END PGP SIGNATURE----- -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake