The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12422 ====================================================================== Reported By: Vaclav Uher Assigned To: ====================================================================== Project: CMake Issue ID: 12422 Category: (No Category) Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-08-26 05:25 EDT Last Modified: 2011-08-26 05:25 EDT ====================================================================== Summary: cmake is unable to generate valid solution for Visual Studio 2010 Description: When there are two versions of Visual Studio (tested only 2005 and 2010) then the generating of cmake cache loads invalid environment variables and uses the nmake of the older studio
Steps to Reproduce: Install Cmake 2.8.4, Visual Studio 2005 and VS 2010 generate initial cache from a file: cmake -G "Visual Studio 10" -C initial-cache.txt ..\..\src\internal result : generating is done for VS 2010 but environment is loaded from VS 2005 loading initial cache file initial-cache.txt -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 10 -- Check for working CXX compiler using: Visual Studio 10 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - not found. -- Found Threads: TRUE Setting environment for using Microsoft Visual Studio 2005 x86 tools. Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. 'messages.rc' is up-to-date -- Configuring done -- Generating done -- Build files have been written to: C:/develop/libs/HEAD/Build10/internal Additional Information: an option for setting up of nmake path will be really helpful to set the environment properly even if there is more than one VS installed ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-08-26 05:25 Vaclav Uher New Issue ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
