Miscellaneous Commands

Let's learn about some utility commands in CMake.

Every language has utility commands that come in handy on a myriad of occasions. CMake is no different in that matter: it provides tools for simple arithmetic, bitwise operations, string manipulations, and operations on lists and on files. Interestingly enough, the occasions when they are necessary are relatively rare (thanks to all the enhancements and modules written over the years), but can still be required in more automated projects.

Get hands-on with 1200+ tech skills courses.