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,108
    • Issues 4,108
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • 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
  • #22160
Closed
Open
Issue created May 06, 2021 by Alexandre Gauthier-Foichat@AlexandreGF

Xcode generator: automoc mocs_compilation.cpp is recompiled

macOS 11.3, Xcode 12.5, cmake 3.19.7: If I compile a project using automoc, then shutdown the computer, for exemple overnight, then reopen the project, it triggers a rebuild of mocs_compilation.cpp. This is tricky to reproduce as the rebuild does not happen right away, even if closing Xcode or rebooting. Consistently every morning, on a huge project, the mocs_compilation.cpp files will be rebuilt, taking 2-3 minutes.

Here's a sample almost empty project to toy with. Note that it is not easy to reproduce. CmakeXcodeBug.zip

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