Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,100
    • Issues 4,100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #18444
Closed
Open
Issue created Oct 11, 2018 by Dylan Ede@dylanede

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. ☹ I have not yet managed to reproduce this issue with smaller projects (both are very large).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking