>> $<$<BOOL:$<TARGET_PROPERTY:${TARGET},INCLUDE_DIRECTORIES>>:-I$<JOIN:$<TARGET_PROPERTY:${TARGET},INCLUDE_DIRECTORIES>,
>> -I>>
>
> Does it work without the variable in there. (By the time the generator
> expression evaluator gets the string, it should be expanded.)
>
>> however evaluating the expression results in this command string:
>> $<1:-I$<JOIN:$ -I>>
>
> Should that '$' be ','? Where did your literal ',' go from the above
> genex?
hmm, i've updated cmake to the current master branch (the other one was
a few days old). now the expression evaluates to (if the properties are
"a;b;c"):
$<1:-I $<JOIN:a;b;c , -I>>
though it does not matter, if the target is passed via variable or directly.
any idea?
thnx,
tim
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers