On Wed, Feb 10, 2010 at 04:54:47PM +0100, Martin Guillon wrote:
> Let s say we have a very simple CMakeLists.txt Like that
> 
> cmake_minimum_required(VERSION 2.6)
> MESSAGE (STATUS "The system is \"${CMAKE_SYSTEM_NAME}\"")
> 
> Now as is the CMakelists works fine.
> 
> The problem appears when we add a PROJECT(TOTO)
> If I do so wherever I put it I get
> -- The system is ""

The project() command does a bunch of stuff, including defining and
redefining various variables.

What are you trying to do?

tyler
_______________________________________________
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

Reply via email to