cmGeneratorTarget: Use enum to describe bundle directory query level

1 job for 16733-bundle-genex