cmake macros and bash scripts for rapid project development