[CMake] Latest problem: -D values
Phil Smith
phil at voltage.com
Fri Aug 29 17:34:29 EDT 2008
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
More information about the CMake
mailing list