Here is what I found in LLVM 'CMakeLists.txt:
# Workaround for MSVS10 to avoid the Dialog Hell # FIXME: This could be removed with future version of CMake. if(MSVC_VERSION EQUAL 1600) set(LLVM_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/LLVM.sln") if( EXISTS "${LLVM_SLN_FILENAME}" ) file(APPEND "${LLVM_SLN_FILENAME}" "\n# This should be regenerated!\n") endif() endif()
This code seems to update the .sln file and forces Visual Studio to reload the entire solution at once, rather than asking you about each project.
source share