On 1/15/2016 2:41 PM, Greg Marr wrote:
You can do both in the same solution/projects with the Microsoft fork
of CMake, but it's not a general solution, and it doesn't handle
different settings for 32 bit and 64 bit. Because of that, they're
"not pushing too hard" for it to be in mainline CMake.
https://cmake.org/pipermail/cmake/2015-August/061346.html
Yes, and things like CMAKE_SIZEOF_VOID_P would not have valid values.
However, if you want cmake builds to work, you should never change the
generator in a CMakeCache.txt file, it is going to more often than not
cause problems. A build tree should be configured with one generator
and if you need another generator you should use a different directory
and a different build tree sharing the same source tree.
-Bill
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake