[CMake] Using cmake without a C compiler?
William A. Hoffman
billlist at nycap.rr.com
Thu Sep 1 17:01:01 EDT 2005
To get around the bug, you can do this:
SET(CMAKE_NONE_COMPILER true)
PROJECT(FOO NONE)
-Bill
At 04:20 PM 9/1/2005, Brad King wrote:
>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
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list