[CMake] Creating project distribution using cpack.
Bill Hoffman
bill.hoffman at kitware.com
Tue May 8 15:05:31 EDT 2007
Rob Mathews wrote:
> That's easy. In CMake.cxx, in or around line 2310-2317
>
> /*
> I don't need this and CMake can't find it (even though I installed
> correctly).
> if (!cmSystemTools::FileExists(this->CPackCommand.c_str()))
> {
> cmSystemTools::Error("Cannot find the CPack executable");
> this->CPackCommand = "CPACK-COMMAND-NOT-FOUND";
> }
> */
>
> I've read what CPack does, and our development environment has a
> different way of doing that, so I don't need it and don't want to force
> all of our developers to install it.
>
> Hence the comment. And I can tell from the code that isn't a switch to
> turn it off.
>
OK, then, I would say that it was not installed correctly or the sources
have been modified in some way that breaks this. If you build stock
CMake, I have never seen it not find cpack. On the other hand, since
cpack/cmake/ctest are meant to be a family of tools, it is unlikely that
this change will make it into the CVS for CMake. As, not having it when
it is supposed to be there is a symptom of some other problem.
-Bill
More information about the CMake
mailing list