Properties: Add CMAKE_ROLE global property

This property allows scripts to determine whether they're in project
mode, script mode, find-package mode, CTest, or CPack.
35 files changed