What’s the CMake syntax to set and use variables?

I’m asking this as a reminder to myself the next time I use CMake. It never sticks, and Google results aren’t great.

What’s the syntax to set and use variables in CMake?

3 Answers
3

Leave a Comment