On 01/31/2017 05:17 AM, Alexander Hans wrote:
> What we want is to use Visual Studio 2013 as IDE with the vc100 compilers.
> It is possible to create a Visual Studio 2010 solution with CMake and open
> and compile that with Visual Studio 2013.

Instead you should use the "Visual Studio 12 2013" generator but specify
the `vc100` toolset:

  cmake ../src -G "Visual Studio 12 2013" -T vc100

There is also an option in cmake-gui to do this on initial configuration
of a new build tree.  See also these docs:

  https://cmake.org/cmake/help/v3.7/variable/CMAKE_GENERATOR_TOOLSET.html

This way you get native generation for the VS 2013 IDE but the project
will use the `vc100` tools when built.

-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

Reply via email to