In ADD_CUSTOM_COMMAND(TARGET xxxx POST_BUILD COMMAND cmd1 args1 [COMMAND cmd2 args2] ) I'd need to be able to add as many commands as are in a list, sort of like: In ADD_CUSTOM_COMMAND(TARGET xxxx POST_BUILD FOREACH(entry) COMMAND ${entry} ENDFOREACH(entry) ) Is it possible to achieve this is some way? TIA /R