[CMake] Spaces in conditional output of generator expressions
Neil Carlson
neil.n.carlson at gmail.com
Sun Jun 3 09:33:14 EDT 2018
On Sun, Jun 3, 2018 at 7:08 AM Marc CHEVRIER <marc.chevrier at gmail.com>
wrote:
> [...]
> GOOD: target_compile_options(someTarget PRIVATE
> "$<$<COMPILE_LANGUAGE:CXX>:-Wall;-Wextra>")
>
Ah, that's it. Never occurred to me to quote the whole thing, thinking that
would turn the generator expression into a literal string and not be
interpreted. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180603/d7b14ebc/attachment.html>
More information about the CMake
mailing list