On 08/22/2016 12:18 PM, Albrecht Schlosser wrote:

On 22.08.2016 10:33 Nils Gladitz wrote:

The visual studio command line environments should have no effect when
using the visual studio generators.

Are you sure? Or what does "should" mean here? ;-)

Yes. The Visual Studio generators are meant to work outside of the visual studio command line environments while the command line generators (makefiles, ninja) are meant to work from within the visual studio command line environment.

What that means is that the Visual Studio generators must work without it.

You can of course create manual dependencies from your project e.g. when you manually run "cl" from a custom command but such use should obviously be avoided since it is non-obvious and there is nothing that prevents you from running e.g. the x86 environment while your visual studio solution (which will ignore that environment) is targeting amd64.

Nils
--

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

Reply via email to