On 06/09/2015 01:40 PM, Roman Savchenko wrote:
I whant to add custom command in such way:
add_custom_target(my_target)
add_custom_command(TARGET my_target POST_BUILD COMMAND script ${LIST})
set(LIST "")
function(add_to_target source)
add_executable(source ${source})
add_dependency(my
HI All,
I whant to add custom command in such way:
add_custom_target(my_target)
add_custom_command(TARGET my_target POST_BUILD COMMAND script ${LIST})
set(LIST "")
function(add_to_target source)
add_executable(source ${source})
add_dependency(my_target ${source})
list(APPEND LIST ${