Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMake as a supported build system #82

Merged
merged 8 commits into from
Jul 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add JSON styling options for clang-format
Adding CMake support introduces `CMakePresets.json`. This causes
clang-format trying to format JSON files, but failing to do so because
no styles are specified for JSON files. This commit takes LLVM style as
a reasonable default to start with.
  • Loading branch information
lunacd committed Jul 10, 2024
commit 66a790418dde11e712e662137e2a68b46af52f4f
3 changes: 3 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,6 @@ WhitespaceSensitiveMacros:
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...
---
Language: Json
BasedOnStyle: LLVM