Done. See http://www.cmake.org/Bug/view.php?id=9092

Best regards,
Marcel Loose.

-----Original Message-----
From: Alexander Neundorf <a.neundorf-w...@gmx.net>
Reply-to: a.neundorf-w...@gmx.net
To: cmake@cmake.org
Subject: Re: [CMake] Problem with ASM and COMPILE_DEFINITIONS
Date: Fri, 29 May 2009 00:20:40 +0200

On Wednesday 27 May 2009, Marcel Loose wrote:
> Hi all,
>
> I've done some more digging and found the culprit: using
> add_definitions() with a quoted string containing more than one
> argument.
>
> So, for example, the following command defines preprocessor variables
> that are NOT discarded by CMake when /usr/bin/as is called.
>
> add_defintions("-DMYDEF -DMYOTHERDEF")
>
> However, when supplying only a single argument, quotes don't seem to
> matter. Also, when removing the quotes on the multiple arguments above,
> CMake properly discards these preprocessor variables when
> invoking /usr/bin/as.
>
> Now, is this a CMake bug or feature!?

Can you please attach a small but complete testcase, ideally in the bug 
tracker ?

Thanks
Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to