Add targets to cmake for specific target components.