I have a cmake file generated by an external tool that is of this form:
set(SOURCE_FILES ....)
add_custom_target(target1 ${build_tool} param SOURCES ${SOURCE_FILES})
add_custom_target(target2 ${build_tool} param SOURCES ${SOURCE_FILES})
...
so basically the build is governed by external tools. I was wondering if it would be possible to use cpack to pack these targets for distributing in an installer?
for your information the tool generating this build routine, is Unreal Engine and the external build tool is UBT which itself also calls another tool.