On Sun 25 May 2014 at 11:03:41 +0200, Rhialto wrote: > I guess we'll find out after this little hurdle.
I haven't found out how to get cmake to print out the command that is
actually executed, but I did find this in
build/CMakeFiles/ctwm.dir/build.make:
gram.tab.c: ../gram.y
...
/usr/bin/yacc -d\ -b\ gram
/mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake/gram.y
Note the backslashes in that line. I think they should not be there.
And indeed, after removing them the build completes, and the library
search path is set correctly too.
It seems like removing the quotes when setting YFLAGS in CMakeLists.txt
is the way (one way of?) fixing it. The same thing should probably be
done 2 lines lower too.
Another idea: add a variable for the name of the build directory and a
mkdir command for it. That way you can easily blow away the entire build
and start over. And by setting the variable on the command line, have
separate build dirs at the same time if you want.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
pgpVRXEC6aug3.pgp
Description: PGP signature
