This recipe will show how to use functions and macros in CMake and discuss the differences between the two.