The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12050 ====================================================================== Reported By: Galeazzi Assigned To: ====================================================================== Project: CMake Issue ID: 12050 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2011-04-06 04:19 EDT Last Modified: 2011-04-06 04:19 EDT ====================================================================== Summary: missing file causes an empty solution Description: When one (or more) file(s) listed in CMakeLists is not found the VS2008 solution becomes empty and it's not possible to recovery it anymore by VS2008.
Steps to Reproduce: 1 - Create a VS2008 solution based on a correct CMakeLists.txt 2 - Open the solution and edit CMakeLists.txt adding a non-existent file into the list of sources. 3 - Build the solution (F7 is my shortcut) 4 - It appears the message: << The solution 'name' has been modified outside the environment. Press Reload to load the update solution from disk. Press Ignore to ignore the external changes. The changes will be used the next time you open the solution. >> 5 - If you press Reload, VS2008 will open a solution containing none projects, so it's not possible to recovery the situation. The only way is to fix the CMakeLists.txt by an external editor and generate the solution again by using cmake-gui or cmake command line. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-04-06 04:19 Galeazzi New Issue ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
