Hi,
I need to generate file with include dirs (taken from documentation):
file(GENERATE OUTPUT ${config_file} CONTENT
"$<$<BOOL:$<TARGET_PROPERTY:${MY_TARGET},INCLUDE_DIRECTORIES>>:
-I$<JOIN:$<TARGET_PROPERTY:${MY_TARGET},INCLUDE_DIRECTORIES>, -I>>")
and the result is:
-IC:/aa -IC:/bb -IC:/c c
as you can see -IC:/c c
contains spaces and this probably wont work properly if I pass it to clang.
How to modify this code so that the result would be:
-I"C:/aa" -I"C:/bb" -I"C:/c c"