I haven't encountered this myself yet but seen folks running into failed attempt of building x64 preset from x86 command prompt or the reverse.
Apparently, there's Platform environment variable set by these command prompts, which can easily identify the target arch type.
Think we can check this in CMake files and reject some futile attempts.
I haven't encountered this myself yet but seen folks running into failed attempt of building x64 preset from x86 command prompt or the reverse.
Apparently, there's
Platformenvironment variable set by these command prompts, which can easily identify the target arch type.Think we can check this in
CMakefiles and reject some futile attempts.