Re: [CMake] CPack source package path

2009-03-09 Thread Adolfo Rodríguez
OK, I get it now! I still have another question, which is somewhat unrelated. Currently, when I configure CPack from CMake, I do a set(CPACK_INSTALL_COMMANDS "some command"), which ends up setting the variable in _both_ CPackConfig.cmake CPackSourceConfig.cmake. How can I set this variable (from

Re: [CMake] CPack source package path

2009-03-09 Thread Eric Noulard
2009/3/9 Adolfo Rodríguez : > On Mon, Mar 9, 2009 at 11:47 AM, Eric Noulard >> >> I'm not sure but >> if I remember well it should be  CPACK_TOPLEVEL_DIRECTORY. > > Hmm, I tried querying the names of all active variables and their values > (after including CPack, of course) by doing > > get_cmake_

Re: [CMake] CPack source package path

2009-03-09 Thread Adolfo Rodríguez
On Mon, Mar 9, 2009 at 11:47 AM, Eric Noulard wrote: > 2009/3/9 Adolfo Rodríguez : > > Hi, > > > > I have set up CPack to generate source and binary packages with the TGZ > > generator. As I understand, the compressed tar consists of the files > located > > in: > > ${CMAKE_BINARY_DIR}/_CPack_Packa

Re: [CMake] CPack source package path

2009-03-09 Thread Eric Noulard
2009/3/9 Adolfo Rodríguez : > Hi, > > I have set up CPack to generate source and binary packages with the TGZ > generator. As I understand, the compressed tar consists of the files located > in: > ${CMAKE_BINARY_DIR}/_CPack_Packages/Linux-Source/TGZ/ > > I want to exclude some files from the packag

[CMake] CPack source package path

2009-03-09 Thread Adolfo Rodríguez
Hi, I have set up CPack to generate source and binary packages with the TGZ generator. As I understand, the compressed tar consists of the files located in: ${CMAKE_BINARY_DIR}/_CPack_Packages/Linux-Source/TGZ/ I want to exclude some files from the package_source target, so I need to reference th