Visual Studio 2017 building CMake generated project files generates folder outside build tree
Configure the attached file and set the generator to Visual Studio 2015 x64 or Visual Studio 2017 x64. Open with Visual Studio 2017, and press rebuild. Assuming you configured into a directory prefix/build
, you'll see a new folder prefix/x64
generated. This only happens with VS 2017.
I've reproduced this with both CMake 3.7.2 and 3.8-rc2.