[CMake] FW: cmake newbie questions

Alexander Neundorf a.neundorf-work at gmx.net
Thu Aug 7 17:14:53 EDT 2008


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