I want to generate myself package using cmake, and a essential code is:
install(TARGETS packageA packgeB ...
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
The packageA packageB ...
indicates the created target. Is there any method to automatically collect these created target? Does I must manually input the targets?
Any suggestion is appreciated~~~