1 2
add_custom_command(OUTPUT x COMMAND y USES_TERMINAL JOB_POOL z) add_custom_target(CustomTarget COMMAND y USES_TERMINAL JOB_POOL z)