Cmake helpful functions and definitions to configure projects easier.