Re: [CMake] CPack and configure_file

2011-01-12 Thread Tobias Ellinghaus
Am Tuesday 11 January 2011 schrub Eric Noulard: [...] in fact I think the real source for this is the fact the CPack lacks the notion of EXTRA distribution file which is available with autoconf, EXTRA_DIST var http://www.gnu.org/software/hello/manual/automake/Basics-of-Distribution.h tml

Re: [CMake] CPack and configure_file

2011-01-12 Thread Eric Noulard
2011/1/12 Tobias Ellinghaus h...@gmx.de: Am Tuesday 11 January 2011 schrub Eric Noulard: [...] in fact I think the real source for this is the fact the CPack lacks the notion of EXTRA distribution file which is available with autoconf, EXTRA_DIST var

Re: [CMake] CPack and configure_file

2011-01-11 Thread Eric Noulard
2011/1/11 Tobias Ellinghaus h...@gmx.de: Am Montag, 10. Januar 2011 schrub Eric Noulard: which would at least allow to copy the files into CMAKE_CURRENT_SOURCE_DIR. You may generate those file (with configure_file) inside your source tree and the generated file will be packaged by

Re: [CMake] CPack and configure_file

2011-01-11 Thread Eric Noulard
2011/1/11 Michael Hertling mhertl...@online.de: On 01/11/2011 12:55 AM, Tobias Ellinghaus wrote: Because some information (like latest git commit as version string) is no longer available when using a source package. Of course I can put the generated files into the source tree, but that's

Re: [CMake] CPack and configure_file

2011-01-11 Thread Michael Hertling
On 01/11/2011 09:48 AM, Eric Noulard wrote: 2011/1/11 Michael Hertling mhertl...@online.de: On 01/11/2011 12:55 AM, Tobias Ellinghaus wrote: Because some information (like latest git commit as version string) is no longer available when using a source package. Of course I can put the

Re: [CMake] CPack and configure_file

2011-01-11 Thread Eric Noulard
2011/1/11 Michael Hertling mhertl...@online.de: On 01/11/2011 09:48 AM, Eric Noulard wrote: [...] The fact is CPack doesn't know much about source package and in fact it package source using the CPACK_INSTALLED_DIRECTORIES directory list. (look at the generated CPackSourceConfig.cmake) I

Re: [CMake] CPack and configure_file

2011-01-11 Thread Tobias Ellinghaus
Am Dienstag, 11. Januar 2011 schrub Eric Noulard: [many great ideas how to solve my issue] Thank you very much folks. I guess I will find something with the pointers you gave me. :-) Current source packaging is more or less a hack. Useful hack, but a hack. Better than nothing I guess.

[CMake] CPack and configure_file

2011-01-10 Thread Tobias Ellinghaus
Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the resulting source package is basically useless. Is

Re: [CMake] CPack and configure_file

2011-01-10 Thread Andreas Pakulat
On 10.01.11 17:26:04, Tobias Ellinghaus wrote: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the

Re: [CMake] CPack and configure_file

2011-01-10 Thread Eric Noulard
2011/1/10 Tobias Ellinghaus h...@gmx.de: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the

Re: [CMake] CPack and configure_file

2011-01-10 Thread Tobias Ellinghaus
Am Montag, 10. Januar 2011 schrub Eric Noulard: 2011/1/10 Tobias Ellinghaus h...@gmx.de: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make