How to make a visual studio solution with x64/x86 support?

It’s a fundamental limitation to CMake. What is the value of CMAKE_SYSTEM_PROCESSOR with two toolchains? CMake would need lots of work to support such a workflow.