+++ /dev/null
-# 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'
-
* 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)
# 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
PUBLIC_HEADER DESTINATION vulkan
FRAMEWORK DESTINATION loader
)
-# cmake-format: on
endif()
endif()