Skip to content
GitLab
  • Menu
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 3,928
    • Issues 3,928
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • CMake
  • CMakeCMake
  • Merge requests
  • !5978

Autogen: AUTOUIC source group fix and documentation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Duncan Barber requested to merge dunquan/cmake:autouic-source-group-fixes into master Apr 04, 2021
  • Overview 3
  • Commits 3
  • Pipelines 1
  • Changes 6

The changes in !5803 (merged) implicitly added the first use of the AUTOUIC_SOURCE_GROUP property by calling cmQtAutoGenInitializer::AddGeneratedSource() with this->Uic. I believe these changes tidy up a couple of aspects relating to the new property.

I initially looked into the property as it didn't seem to be working in the MWE for another issue - the generated headers were ending up in the Header Files source group. This turned out to be because the *.ui file was in the same directory as the CMakeLists.txt creating the target and so the calculated relative path was empty and a path containing // was being added to the source group - this then didn't match to the file.

As a result of looking into the AUTOUIC_SOURCE_GROUP property I noticed it wasn't documented at all so I've also done so here.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: autouic-source-group-fixes