[CMake] project (name NONE) still search for a valid compiler

Bill Hoffman bill.hoffman at kitware.com
Tue Mar 30 10:16:24 EDT 2010


It will also prevent any c or c++ from being compiled...

CMake really needs to do this.

On Mar 30, 2010 10:06 AM, "David Cole" <david.cole at kitware.com> wrote:

What is the output, if you have a CMakeLists.txt file with this content:
project(xyz NONE)

And then run this command in the same dir with the CMakeLists file:
mkdir build && cd build && cmake --version && cmake .. && cd ..

Mine is:
cmake version 2.8.1
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/davidcole/Desktop/xyz/build

You are correct: using "NONE" in the project statement should (and does for
me) prevent the "compiler works" testing.


HTH,
David


On Tue, Mar 30, 2010 at 9:54 AM, Benoit Thomas <benoit.thomas at gameloft.com>
wrote:
>
> Hello,
>
> I'...

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100330/8376739f/attachment-0001.htm>


More information about the CMake mailing list