[Cmake] GetSafeDefinition
John Biddiscombe
John Biddiscombe" <jbiddiscombe@skippingmouse.co.uk
Thu, 30 Jan 2003 22:10:49 -0000
I think I see the trouble, I'm using
SET (CMAKE_CREATE_WIN32_EXE -aa -Tpe -x -Gn )
(Which is modelled after the modules/platform/Windows-bcc32.cmake file, the
flags should be in quotes as in...
SET (CMAKE_CREATE_WIN32_EXE "-aa -Tpe -x -Gn" )
I see most are defined like this, but some are not...
That will probably fix it
JB
----- Original Message -----
From: "Bill Hoffman" <bill.hoffman@kitware.com>
To: "John Biddiscombe" <jbiddiscombe@skippingmouse.co.uk>; "CMake"
<cmake@public.kitware.com>
Sent: Thursday, January 30, 2003 2:33 PM
Subject: Re: [Cmake] GetSafeDefinition
> 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
>
>
>
> _______________________________________________
> Cmake mailing list
> Cmake@public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake
>