From baf0508027872f50198e838fe1148b73a9b11b1f Mon Sep 17 00:00:00 2001 From: Erwin Jansen Date: Wed, 21 Nov 2018 16:09:40 -0800 Subject: CMake support to enable compilation under Visual Studio - Add support for cmake - Template fix to enable compilation with visual studio. - Exclusion of static type tests under visual studio - Fix unit tests due to declaration issues Note we do not build the fuzzing target. Test: All unit tests green on VS2017, MacOs, Linux Change-Id: Ie8437f61d187fff03279c99fde0ff565e8f39b50 --- cmake-format.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cmake-format.json (limited to 'cmake-format.json') 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" +} -- cgit v1.2.3