[CMake] Using cmake without a C compiler?
Brad King
brad.king at kitware.com
Thu Sep 1 16:20:57 EDT 2005
Kriss wrote:
> Is there a way of turning off the check for a C compiler?
>
> I just setup a non C project using cmake and although I have a compiler
> available to keep cmake happy it would be nice if it could be used
> without that dependency on other machines.
>
> I had a poke around and couldn't see anything.
The PROJECT command accepts the list of languages, so you can for
example use only C and not C++:
PROJECT(FOO C)
There was a time when one could do
PROJECT(FOO NONE)
but it looks like this has been broken. Please submit a feature request
here:
http://www.cmake.org/Bug
-Brad
More information about the CMake
mailing list