Skip to content

Add CMake configuration#6

Merged
keeshux merged 4 commits into
masterfrom
feature/support-cmake
Feb 4, 2026
Merged

Add CMake configuration#6
keeshux merged 4 commits into
masterfrom
feature/support-cmake

Conversation

@keeshux

@keeshux keeshux commented Feb 4, 2026

Copy link
Copy Markdown
Owner

Export SWON macros as a CMake INTERFACE target. Provide a minimal sample target to show how to build a CMake executable using SWON.

Export SWON macros as INTERFACE target.
@keeshux keeshux self-assigned this Feb 4, 2026
@keeshux keeshux added the enhancement New feature or request label Feb 4, 2026
@keeshux
keeshux merged commit 10a9d84 into master Feb 4, 2026
@keeshux
keeshux deleted the feature/support-cmake branch February 4, 2026 13:34
keeshux added a commit to partout-io/partout that referenced this pull request Feb 18, 2026
For Foundation-free JSON encoding. This requires Swift Macros
integration in CMake, which is non-trivial, but [mostly done in
SWON](keeshux/swon#6). For the SWONInterface
target to work, Partout must be converted from an ExternalProject to a
subdirectory. This is a good choice for the CMake configuration,
regardless.

For convenience and consistency, convert all vendors to INTERFACE
targets rather than relying on manual paths. This is a much more robust
layout in CMake.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant