[CMake] FW: cmake newbie questions

Alexander Neundorf a.neundorf-work at gmx.net
Tue Aug 5 17:30:01 EDT 2008


On Tuesday 05 August 2008, Phil Smith wrote:
> Nope, that didn't do it.  I tried it with and without double quotes around
> the value: no -fascii was passed in either case.  

From a clean build tree, right ?
It should work.
If it doesn't, search for CMAKE_C_COMPILER_ARG1 and check using 
MESSAGE(STATUS ...) what happens.

What errors do you get ?
Printed and from CMakeFiles/CMakeError.log ?

> However, I'm tentatively
> declaring victory (very tentatively -- I've had it working before, but for
> the wrong reasons, such as NOT doing a linkedit and having it happen to
> find the "magic string" in the object -- but that's not safe, it could be
> broken across 80-byte records).
>
> I notice that it's creating what looks like it might be a duplicate set of
> directories:
>
> CMakeFiles\CMakeTmp\CMakeFiles\cmTryCompileExec.dir
>
> Does it really mean to do that, or is it intending to have just
> CMakeFiles\cmTryCompileExec.dir
> ?  It works, so perhaps machs nicht, 

???
"Es macht nichts" ?

The directories are ok as you see them.

Alex


More information about the CMake mailing list