aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-08-30 12:17:33 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-08-30 12:25:36 -0600
commit42340d6ba88f6848fa39dfdee82dba312c3b4955 (patch)
tree5d15bbc8d87f1a4b2355787f1939270e7ee583bd
parent6087a5844480e1f9cce9c645c2123f07314ce574 (diff)
downloadusermoji-42340d6ba88f6848fa39dfdee82dba312c3b4955.tar.xz
Remove cmake-format
-rw-r--r--.cmake-format.py34
-rw-r--r--CONTRIBUTING.md15
2 files changed, 0 insertions, 49 deletions
diff --git a/.cmake-format.py b/.cmake-format.py
deleted file mode 100644
index 07d2f99d..00000000
--- a/.cmake-format.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# Configuration for cmake-format (v0.4.1, circa Jul 2018)
-# https://github.com/cheshirekow/cmake_format
-
-# How wide to allow formatted cmake files
-line_width = 132
-
-# How many spaces to tab for indent
-tab_size = 4
-
-# If arglists are longer than this, break them always
-max_subargs_per_line = 3
-
-# If true, separate flow control names from their parentheses with a space
-separate_ctrl_name_with_space = False
-
-# If true, separate function names from parentheses with a space
-separate_fn_name_with_space = False
-
-# If a statement is wrapped to more than one line, than dangle the closing
-# parenthesis on it's own line
-dangle_parens = False
-
-# What character to use for bulleted lists
-bullet_char = u'*'
-
-# What character to use as punctuation after numerals in an enumerated list
-enum_char = u'.'
-
-# What style line endings to use in the output.
-line_ending = u'unix'
-
-# Format command names consistently as 'lower' or 'upper' case
-command_case = u'lower'
-
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e3d5f0f3..39101aed 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -97,21 +97,6 @@ scripts and before building and testing your changes. More details can be found
* The indent is 4 spaces.
* CMake functions are lower-case.
* Variable and keyword names are upper-case.
-* The format is defined by
- [cmake-format](https://github.com/cheshirekow/cmake_format)
- using the `.cmake-format.py` file in the repository to define the settings.
- See the cmake-format page for information about its simple markup for comments.
-* Disable reformatting of a block of comment lines by inserting
- a `# ~~~` comment line before and after that block.
-* Disable any formatting of a block of lines by surrounding that block with
- `# cmake-format: off` and `# cmake-format: on` comment lines.
-* To install: `sudo pip install cmake_format`
-* To run: `cmake-format --in-place $FILENAME`
-* **IMPORTANT (June 2018)** cmake-format v0.3.6 has a
- [bug]( https://github.com/cheshirekow/cmake_format/issues/50)
- that can corrupt the formatting of comment lines in CMake files.
- A workaround is to use the following command _before_ running cmake-format:
- `sed --in-place='' 's/^ *#/#/' $FILENAME`
### **Contributor License Agreement (CLA)**