On 14.01.11 20:25:25, Andreas Pakulat wrote:
> Hi,
>
> I'm trying to set a define so that it can be used as string-literal in
> C++ code using add_definitions. This:
>
> add_definition( -DMYFOO=\"BAR BAZ\" )
>
> works fine on linux, but breaks with MSVC6 on windows. I always thought
> I understo
On 14.01.11 21:57:39, Michael Hertling wrote:
> On 01/14/2011 08:25 PM, Andreas Pakulat wrote:
> > Hi,
> >
> > I'm trying to set a define so that it can be used as string-literal in
> > C++ code using add_definitions. This:
> >
> > add_definition( -DMYFOO=\"BAR BAZ\" )
> >
> > works fine on linu
On Fri, Jan 14, 2011 at 4:35 PM, SF Markus Elfring <
elfr...@users.sourceforge.net> wrote:
> "The VS6 IDE does not support definition values with spaces..."
>>
>
> By the way:
> How do you think about the bug report "rc.exe error in 2.8.4-rc1 if
> ADD_DEFINITITIONS contains definition with space"
"The VS6 IDE does not support definition values with spaces..."
By the way:
How do you think about the bug report "rc.exe error in 2.8.4-rc1 if
ADD_DEFINITITIONS contains definition with space" by Vladislav Vaintroub?
http://public.kitware.com/Bug/view.php?id=11695
Regards,
Markus
___
On 01/14/2011 08:25 PM, Andreas Pakulat wrote:
> Hi,
>
> I'm trying to set a define so that it can be used as string-literal in
> C++ code using add_definitions. This:
>
> add_definition( -DMYFOO=\"BAR BAZ\" )
>
> works fine on linux, but breaks with MSVC6 on windows. I always thought
> I unders
Hi,
I'm trying to set a define so that it can be used as string-literal in
C++ code using add_definitions. This:
add_definition( -DMYFOO=\"BAR BAZ\" )
works fine on linux, but breaks with MSVC6 on windows. I always thought
I understood cmake's quoting rules, but apparently I'm wrong :(
I've alr