Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,288
    • Issues 3,288
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #22006

Closed
Open
Created Mar 31, 2021 by Rui Oliveira@ruilvo

file(GET_RUNTIME_DEPENDENCIES ...) is less powerfull than deprecated GetPrerequisites: exclude system libs

GetPrerequisites is deprecated since CMake 3.16, suggesting the users to use file(GET_RUNTIME_DEPENDENCIES ...) instead. The problem is that GET_PREREQUISITES has an <exclude_system> option, but file(GET_RUNTIME_DEPENDENCIES ...) doesn't. This seems like a "regression" in functionality. For windows I worked around it with a POST_EXCLUDE_REGEXES to exclude System32 on Windows, but this really doesn't seem a good option.

I think we should get <exclude_system> in file(GET_RUNTIME_DEPENDENCIES ...).

Thanks.

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