automatic selection 1) use a batch file and test things like %PROCESSOR_ARCHITECTURE% and generate a cmake -g "<appropriate environment>" 2) write a cmake script that does the test. and runs an appropraite cmake command specifying the generator
instead of using msbuild, you can use 'cmake --build . --config Debug --target INSTALL -- /m:4 /v:m' (for instance) while I find it annoying that VS tests come from the registry, and therefore are always available, pre-empting that you have gcc in the path and not devenv... it has to default to something.
-- 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