[CMake] FW: cmake newbie questions
Phil Smith
phil at voltage.com
Wed Aug 6 21:31:01 EDT 2008
C:\temp>cmake -P CMakeLists.txt
-- x length: 2
-- y length: 1
C:\temp>
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...
...phsiii
-----Original Message-----
From: Alexander Neundorf [mailto:a.neundorf-work at gmx.net]
Sent: Wednesday, August 06, 2008 6:38 PM
To: Phil Smith
Cc: cmake at cmake.org
Subject: Re: [CMake] FW: cmake newbie questions
On Wednesday 06 August 2008, Phil Smith wrote:
> Harrumph:
>
> C:\temp>cmake -G"Unix Makefiles" .
> -- The C compiler identification is unknown
> -- The CXX compiler identification is unknown
> -- Check for working C compiler: CMAKE_C_COMPILER-NOTFOUND
> CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.
Hmm, ok, you don't have that set up.
So then just run "cmake -P CMakeLists.txt", this just executes the commands in
the file.
Alex
More information about the CMake
mailing list