[CMake] Start compiles with cmake platform independently?

Filipe Sousa filipe at ipb.pt
Thu Jun 30 06:00:56 EDT 2005


On Thursday 30 June 2005 10:15, wedekind wrote:
> Hello all,
>
> CMake is a great Makefile-generator :) I do not know whether I have
> understood its purpose correctly, but is it possible to start compiles with
> cmake too? Cmake "knows" the compiler/maketool of the platform and all the
> flags and stuff. So it should only be logical to use cmake to run a build,
> right? It would make build-scripts more portable since they only need to
> call "cmake CMakeLists.txt" or something like that to build a project on
> different platforms...
>
> What is your opinion about it? I should add that I am new to cmake and do
> not know all the details yet, what about this TRY_COMPILE-instruction? When
> is it called? Do you have an example which illustrates the use of this
> feature?

http://public.kitware.com/cgi-bin/viewcvs.cgi/Tests/TryCompile/?root=CMake

> Thanks
>
> Marco
>
>
> _______________________________________________
> 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/20050630/73194709/attachment.pgp


More information about the CMake mailing list