You cannot reliably change the generator used for the output (= binary) directory once the generation has already been there. You should start with a new directory.
After that, just use the CMake -G command line option :
cmake -G "Visual Studio 12 2013 Win64"
Angew Sep 14 '15 at 17:00 2015-09-14 17:00
source share