cmake: Remove cmake-format
authorJuan Ramos <juan@lunarg.com>
Fri, 21 Jul 2023 22:18:58 +0000 (16:18 -0600)
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>
Fri, 21 Jul 2023 22:34:21 +0000 (16:34 -0600)
.cmake-format.py [deleted file]
CONTRIBUTING.md
loader/CMakeLists.txt

diff --git a/.cmake-format.py b/.cmake-format.py
deleted file mode 100644 (file)
index 07d2f99..0000000
+++ /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'
-
index d794cc7..4c65e12 100644 (file)
@@ -139,21 +139,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)
 
index 3b7cdda..e1b0d71 100644 (file)
@@ -361,7 +361,6 @@ else()
         # framework version does not have to be "A", this part of the Apple toolchain expects it.
         # https://forums.developer.apple.com/thread/65963
 
-# cmake-format: off
         set_target_properties(vulkan-framework PROPERTIES
             OUTPUT_NAME vulkan
             FRAMEWORK TRUE
@@ -375,7 +374,6 @@ else()
             PUBLIC_HEADER DESTINATION vulkan
             FRAMEWORK DESTINATION loader
         )
-# cmake-format: on
     endif()
 endif()