[Cmake] GetSafeDefinition
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Thu Jan 30 17:10:49 EST 2003
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 at kitware.com>
To: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>; "CMake"
<cmake at 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 at public.kitware.com
> >http://public.kitware.com/mailman/listinfo/cmake
>
>
>
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake
>
More information about the CMake
mailing list