what we've just done there is we've prompted CMake to make a new directory called world dash and then the version. Now the version, and this is cool, remember we set the version in project. We said project, parentheses, world version one dot oh, close parentheses. So we sort of surreptitiously created a new variable in that process, and the variable is the project name underscore version. Now the weird thing about this is that you didn't name that variable yourself. Well, you did kind of because you named the project, but what I'm trying to express here is that there are certain things that just get grandfathered in and you might not be aware of it. You know, like if you're writing, let's say Python, and you write out the expression foo equals 12. Well, you know the name of that variable. It's foo. You wrote it down. You wrote the typed F-O-O. That's the name of the variable. But in CMake, and this happens elsewhere like in AutoMake a little bit, you're creating a variable. You're (32/54)
You are viewing a single comment's thread from: