cmake: Replace working mode with role
13 files changed