Sometimes include directories for a VS project generated from cmake-gui get added to another VS project generated later by the same running instance of cmake-gui
I can get this to happen even after deleting the CMake cache for the second CMake project. It seems to be state persisted within the running instance of cmake-gui. If I restart cmake-gui, The problem is resolved and the Visual Studio project files it generates no longer include the spurious include directories from the other CMake project.
This is on Windows 10, CMake 3.12.2, with two CMake projects in separate directories and no overlapping dependencies. The first project is generated for VS 2017 with the v140 toolset. The second project is generated for VS 2017 with the v100 toolset. Deleting CMake caches seems to have no effect on this behaviour. Each CMake project consists of multiple libraries and binaries. All VS projects generated have the incorrect additional include paths appearing in their include directory list.
The two CMake projects in question are from my work and are closed source, so I cannot share them to help reproduce the problem.