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,923
    • Issues 3,923
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • 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
  • Issues
  • #16795
Closed
Open
Created Apr 12, 2017 by Konstantin Käfer@kkaefer

Xcode generator doesn't respect SYSTEM when setting include_directories

When using target_include_directories(target SYSTEM <paths...>), the Make and Ninja generators use -isystem to pass the include directories to the compiler. Xcode has the properties HEADER_SEARCH_PATHS (which get passed with -I to the compiler), and SYSTEM_HEADER_SEARCH_PATHS, which uses -isystem. However, the Xcode generator indiscriminately passes all paths into the HEADER_SEARCH_PATHS.

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