Add useful resources
Add user-defined cmake macros to control the code