aboutsummaryrefslogtreecommitdiff
path: root/cmake-format.json
diff options
context:
space:
mode:
authorGravatar Jeff McGlynn <jeff@jeffmcglynn.com>2018-11-27 11:17:42 -0800
committerGravatar GitHub <noreply@github.com>2018-11-27 11:17:42 -0800
commit500945dd1316fcebb6d2fc6ec22019988b8ce6d2 (patch)
treec1c350b5ec2b39c1c036e576968a003c84056028 /cmake-format.json
parent16661ba8c0103c2571e84a59a107c9e41dbe60dc (diff)
parentbaf0508027872f50198e838fe1148b73a9b11b1f (diff)
Merge pull request #1 from pokowaka/master
CMake support to enable compilation under Visual Studio
Diffstat (limited to 'cmake-format.json')
-rw-r--r--cmake-format.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/cmake-format.json b/cmake-format.json
new file mode 100644
index 0000000..de38ed2
--- /dev/null
+++ b/cmake-format.json
@@ -0,0 +1,38 @@
+{
+ "line_width": 120,
+ "dangle_parens": false,
+ "first_comment_is_literal": true,
+ "algorithm_order": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "command_case": "lower",
+ "additional_commands": {
+ "foo": {
+ "flags": [
+ "BAR",
+ "BAZ"
+ ],
+ "kwargs": {
+ "HEADERS": "*",
+ "DEPENDS": "*",
+ "SOURCES": "*"
+ }
+ }
+ },
+ "separate_fn_name_with_space": false,
+ "always_wrap": [],
+ "separate_ctrl_name_with_space": false,
+ "max_subargs_per_line": 5,
+ "fence_pattern": "^\\s*([`~]{3}[`~]*)(.*)$",
+ "enable_markup": true,
+ "ruler_pattern": "^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$",
+ "tab_size": 2,
+ "keyword_case": "unchanged",
+ "enum_char": ".",
+ "literal_comment_pattern": null,
+ "bullet_char": "*",
+ "line_ending": "unix"
+}