I've started digging in under the hood so that I can better understand the inner workings of CMake. I've been going through the files in the Modules directory in order to understand how/why/when things happen when running CMake.
I've so far been unable to determine how/where the CMAKE_HOST_APPLE
/CMAKE_HOST_UNIX
/CMAKE_HOST_WIN32
variables are set.
Can anyone enlighten me?
On a related note, I've been going through the Modules files in a haphazard manner since I don't know the order in which they are initiated/processed.
Is there anywhere that describes this flow or at the very least indicates a starting point so that I can figure out the rest from there?