[Cmake] GetSafeDefinition

Bill Hoffman bill.hoffman@kitware.com
Thu, 30 Jan 2003 09:33:45 -0500


All GetSafeDefinition does is call GetDefinition() on the cmMakefile, and
if that returns null, it will return "" instead of null.   So, the definition that
you have acually must have semicolons in it.   Can you give a small example of
a CMakeLists.txt file that shows this?

Something like this:

SET(FOO_BAR "      ")
MESSAGE(${FOO_BAR})


-Bill


At 06:54 AM 1/30/2003 +0000, John Biddiscombe wrote:
>My Project generator is failing because the function GetSafeDefinition() in
>LocalUnixMakefileGenerator is returning a string with all the spaces
>converted into semicolons. Is this a recent change? and if so, is the old
>behaviour available by some switch etc
>
>thanks
>
>JB
>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake@public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake