On 09/03/2014 11:36 AM, Bach, Pascal wrote: > What I meant is that is you use the generator "Visual Studio 12 (2013) ARM" > but set the CMAKE_VS_PLATFORM_NAME="Win64" > It would compile for Win64 not arm (like calling "Visual Studio 12 (2013) > Win64"), so we just override it with whatever the user provides.
I think it should be an error in that case. We should only allow the platform to be set by a variable if it is not part of the generator name. Putting it in the generator name is a way of specifying the value, so we should not support conflicting specifications. Thanks, -Brad -- 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-developers