Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4.2k
    • Issues 4.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • 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

Admin message

A Gitlab update will be applied on June 5th , between 6PM - 7PM EDT (UTC-04:00). This site may have intermittent delays during that time.

  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !7826

Xcode: Evaluate Swift compile definitions separately

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Brad King requested to merge brad.king/cmake:xcode-swift-defs into master Oct 25, 2022
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 4

Xcode has a separate setting for Swift compile definitions, so we can compute a dedicated value for it. Therefore we can:

  • Support the COMPILE_LANGUAGE generator expression for Swift-specific filters.

  • Avoid passing the =value part of definitions, which Swift does not support.

This revises !7388 (merged) and reverts commit 12c6fec6, as the latter is no longer needed.

Fixes: #24086 (closed)
Backport: release

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xcode-swift-defs