swiftlang / swiftlang/docs

Setting Up Mixed-Language Swift and C++ Projects

Open
#50 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

content migration
Dominant language
Python
Stars
28
Forks
5
Avg merge
18h 33m
Merged PRs (30d)
18

Description

Source: documentation/cxx-interop/project-build-setup/index.md
Proposed disposition: Needs determination — defer to C++ interop team (same group as Mixing Swift and C++)
Reviewer: @swiftlang/language-steering-group

Checklist

  • Create a GitHub issue to track this migration once destination is confirmed
  • Determine disposition alongside cxx-interop/index.md (same destination decision)
  • Review source for accuracy (SwiftPM, Xcode, and CMake build system setup)
  • Translate Jekyll markdown to DocC markdown format
    • Remove YAML front matter
    • Convert any Jekyll callouts to DocC-style callouts
    • Verify build system examples against current toolchain
  • Add article to target catalog's Documentation.md
  • Run swift package generate-documentation --analyze --warnings-as-errors in the target package
  • Preview locally with swift package --disable-sandbox preview-documentation
  • Submit PR for appropriate team review
  • After merge and publication: add redirect_to: in the swift.org source file's front matter
  • Submit redirect PR to swift-org-website

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with documentation/cxx-interop/project-build-setup/index.md and determine its destination alongside cxx-interop/index.md with the C++ interop team. Review the SwiftPM, Xcode, and CMake examples, translate the Jekyll markdown to DocC, and run the listed documentation generation and preview commands. Done means the article is cataloged, reviewed, published, and the source and website redirects are submitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, swift
Domain
build-system, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.