Well, this is just ducky. I'm posting this so it goes in the archives and maybe 
saves someone else a LOT of heartache.

Batch files treat incoming, unquoted equals signs as spaces!

Thus my batch file to do the compiles gets invoked as (say):

-DSOMETHING=AVALUE Banana.c

but the batch file sees this as:

-DSOMETHING AVALUE Banana.c

Quick, someone build me a time machine so I can go back and kill whoever 
implemented THAT (I know, get in line...)!

...phsiii
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to