[CMake] RPM for CPack?
Christian Convey
christian.convey at gmail.com
Fri Aug 3 08:58:25 EDT 2007
On 8/2/07, Eric Noulard <eric.noulard at gmail.com> wrote:
> If you have trouble with the macro do not hesitate to ask for
> explanation and/or send patched version either on the list or the wiki
Thanks. Could you explain something to me?
It looks to me like you're supposed to be in the top-level directory
of a directory tree populated by CMake, right? That is, the directory
"x" in the following example:
mkdir x
cd x
ccmake ../my-project-src
cmake
And then it looks to me like your UseRPMTools invokes cpack, telling
cpack to use a file with this name: CPackSourceConfig.cmake And any
files that would have been installed via "make install" will end up in
the resulting .rpm file.
But when I do this, I don't find any files named
CPackSourceConfig.cmake in my build directory ('x').
Do I properly understand your macro? And if so, any idea why I'm not
seeing any CPackSourceConfig.cmake files in my build tree?
Thanks,
Christian
More information about the CMake
mailing list