On 11/03/2016 06:04 PM, John Drescher wrote:
> I opened a project in cmake-gui using the open project button from a
> vc 2010 build of a project. The open project opened the project in
> Visual Studio 2010. Later I opened the same project but a different
> build tree for Visual Studio 2013 CMake-gui had all of the correct
> information for the Visual Studio 2013 build but open project tried to
> open the Visual Studio 2013 solution in Visual Studio 2010 instead of
> the expected Visual Studio 2013. Is there a way to get/force this
> feature to reliably use the correct ide?

The feature is new in 3.7 and was contributed here:

 cmake-gui: Add button to open the generated project
 https://gitlab.kitware.com/cmake/cmake/commit/1ca2d5d1

I'm not particularly familiar with how it works, but from a quick
glance at the code it may be using file associations.

If all that happened during a single cmake-gui session perhaps some
state is not being cleaned up when changing build trees.

-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