79121356

Date: 2024-10-24 09:55:48
Score: 1
Natty:
Report link

It turns out I almost had it right, but there was an issue in the generator expression in the custom target. As suggested here, I had to change the whitespace with $<SEMICOLON> So the add_custom_target becomes

add_custom_target(Merge${target}Libraries
        COMMAND libtool -static -o ${destination} "$<GENEX_EVAL:$<JOIN:${TARGET_DEPENDENCIES},$<SEMICOLON>>>"
        COMMAND_EXPAND_LISTS
        DEPENDS ${target})
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco Giglio