Re: [CMake] avoid substitution of semicolon

2011-03-16 Thread Tim Blechmann
Have you tried quotes in your message() so it doesn't remove the semi-colons? message(${x}) ah, that explains my confusion of the missing semi-colon thanks, tim -- t...@klingt.org http://tim.klingt.org Relying on the government to protect your privacy is like asking a peeping tom to install

Re: [CMake] avoid substitution of semicolon

2011-03-15 Thread David Cole
What are you going to do with it once it's in the value ARCH or x? It's hard to see the literal contents of a cmake variable without using in the message command. This code: set(x -DCMAKE_OSX_ARCHITECTURES=i386\\;x86_64) message(${x}) produces this output: