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,102
    • Issues 4,102
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • 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
  • #8814
Closed
Open
Issue created Mar 29, 2009 by Kitware Robot@kwrobotOwner

file(GLOB) needs more specific documentation on supported globbing operations

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


In the documentation, there should be specific mention of the globbing expressions supported include only *, ?, and [].

Specifically mention that brace expanding ({}) isn't supported.

Specifically mention that regular expressions in glob expressions are not supported.

Also, it should provide an example of doing multiple matches in a single expression: file(GLOB sources "*.cpp" "*.h").

Edited Jan 11, 2023 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking