[CMake] missing file causes an empty solution
Andrea Galeazzi
galeazzi at korg.it
Tue Apr 5 05:27:47 EDT 2011
I found one possible VS2008 bug, just following these steps:
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.
Is it an already known bug? Should I open a bug in the bug-lists?
Cheers
More information about the CMake
mailing list