Code reuse with functions and macros This recipe will show how to use functions and macros in CMake and discuss the differences between the two. cxx-example