[CMake] generator expressions
Brad King
brad.king at kitware.com
Fri Jun 6 11:28:42 EDT 2014
On 06/06/2014 11:07 AM, Andrew Fuller wrote:
> On Fri, Jun 6, 2014 at 6:08 AM, Brad King <brad.king at kitware.com <mailto:brad.king at kitware.com>> wrote:
>
> I cannot reproduce these. Can you provide a complete CMakeLists.txt
> example please?
>
> Attached
Thanks. I meant to quote the whole outermost $<> expression as one
argument. Also you are missing some closing '>' in the last block.
For example:
- $<$<PLATFORM_ID:Windows>:${_windowsLibListL}>
- $<$<PLATFORM_ID:Linux>:$<JOIN:${_linuxLibListL}," -l">
+ "$<$<PLATFORM_ID:Windows>:${_windowsLibListL}>"
+ "$<$<PLATFORM_ID:Linux>:$<JOIN:${_linuxLibListL}, -l>>"
-Brad
More information about the CMake
mailing list