[CMake] FW: cmake newbie questions

Phil Smith phil at voltage.com
Thu Aug 7 17:09:15 EDT 2008


Sorry. It works if I *do* comment out those lines. So I've removed them.

-----Original Message-----
From: Alexander Neundorf [mailto:a.neundorf-work at gmx.net]
Sent: Thursday, August 07, 2008 5:15 PM
To: cmake at cmake.org
Cc: Phil Smith
Subject: Re: [CMake] FW: cmake newbie questions

On Thursday 07 August 2008, Phil Smith wrote:
> C:\temp>cmake -P CMakeLists.txt
> -- x length: 2
> -- y length: 1
>
> C:\temp>


That's good.

> I get the same result in "my" directory (with the file renamed, of course).
>
> Ah HAH -- if I comment out:
> # INCLUDE (CMakeForceCompiler)
> # CMAKE_FORCE_C_COMPILER   (c:/progra~1/dignus/cc.bat Dignus)
> # CMAKE_FORCE_CXX_COMPILER (c:/progra~1/dignus/cxx.bat Dignus)
>
> It works as expected. Is this a bug?  It's definitely unintuitive edge
> behavior...

Do you mean if the code above is commented out it works or it works if you
un-comment the code above it works ?

Alex


More information about the CMake mailing list