[CMake] CMake-created Makefiles on a system without CMake

Filipe Sousa filipe at ipb.pt
Fri Nov 11 18:07:27 EST 2005


On Friday 11 November 2005 22:27, Martin Baumann wrote:
> Hi,
>
> if a project uses CMake to create Makefiles, do these Makefiles need
> CMake to be run?

yes

> Is it possible to compile the source just with the Makefiles on a system
> that hasn't installed

no, because Makefiles contains absolute paths.

> CMake? Or will it be necessary to install CMake on this system, too?

yes

> In the book 'Mastering CMake' on page 17 stands:
>  > You generally should not generate makefiles or projects with CMake
>
> and move them to
>
>  > another machine that does not have CMake installed
>
> The version on the system without CMake is a end user. This source code
> must not be
> changed at all. Is it ok for this case not to have installed CMake on
> this system?

CMake creates Makefiles that depends on cmake. You should distribute your 
source code to the end user without any files generated by cmake.

>
> Thanks, Martin
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

--
Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20051111/fb3815b1/attachment.pgp


More information about the CMake mailing list