Scott MacVicar wrote:
Hi,
With some auto-generated code we use $$ in filenames to avoid
collisions withe files of the same name, within dependency.make we get
some unexpected behaviour.
Line of interest: CMakeFiles/program.dir/php/scone.cpp.o:
cls/sometestclass$$0.h
With make $$ has a special meaning for secondary expansion and resolves it to $
If I manually edit the file and make it $$$$0 then it works as expected.
Should this be reported as a bug? Also is there a way to get around this for
now?
Yup, looks like a bug.
As for a work around, can you change your code generator to use _
instead of $?
-Bill
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake