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
