Skip to content

Commit 079e799

Browse files
Fixed style imperfections in .md files
1 parent ca8358c commit 079e799

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

deps/eudev-3.2.10/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Contact: You can email us as a group below.
1616
IRC: Freenode/#gentoo-udev
1717

1818
Committers (alphabetical order by last name):
19-
19+
```
2020
Luca Barbato (lu_zero) <[email protected]>
2121
Anthony G. Basile (blueness) <[email protected]>
2222
Francisco Izquierdo (klondike) <[email protected]>
2323
Ian Stakenvicius (axs) <[email protected]>
2424
Matthew Thode (prometheanfire) <[email protected]>
2525
Tony Vroon (chainsaw) <[email protected]>
2626
Richard Yao (ryao) <[email protected]>
27-
27+
```
2828
## Build status
2929
[![Build Status](https://travis-ci.org/gentoo/eudev.svg?branch=master)](https://travis-ci.org/gentoo/eudev)

deps/hidapi-0.12.0/BUILD.cmake.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ To build HIDAPI with CMake, it has to be [installed](#installing-cmake)/availabl
55
Make sure you've checked [prerequisites](BUILD.md#prerequisites) and installed all required dependencies.
66

77
HIDAPI CMake build system allows you to build HIDAPI in two generally different ways:
8-
1) As a [standalone package/library](#standalone-package-build);
9-
2) As [part of a larger CMake project](#hidapi-as-a-subdirectory).
8+
1. As a [standalone package/library](#standalone-package-build);
9+
1. As [part of a larger CMake project](#hidapi-as-a-subdirectory).
1010

1111
**TL;DR**: if you're experienced developer and have been working with CMake projects or have been written some of your own -
1212
most of this document may not be of interest for you; just check variables names, its default values and the target names.
@@ -107,11 +107,11 @@ _NOTE_: HIDAPI packages built by CMake can be used with `pkg-config`, as if buil
107107
It is possible to build a CMake project (including HIDAPI) using MSVC compiler and Ninja (for medium and larger projects it is so much faster than msbuild).
108108

109109
For that:
110-
1) Open cmd.exe;
111-
2) Setup MSVC build environment variables, e.g.: `vcvarsall.bat x64`, where:
110+
1. Open cmd.exe;
111+
1. Setup MSVC build environment variables, e.g.: `vcvarsall.bat x64`, where:
112112
- `vcvarsall.bat` is an environment setup script of your MSVC toolchain installation;<br>For MSVC 2019 Community edition it is located at: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\`;
113113
- `x64` -a target architecture to build;
114-
3) Follow general build steps, and use `Ninja` as a generator.
114+
1. Follow general build steps, and use `Ninja` as a generator.
115115

116116
### Using HIDAPI in a CMake project
117117

@@ -187,15 +187,15 @@ add_subdirectory(hidapi)
187187

188188
There are several important differences in the behavior of HIDAPI CMake build system when CMake is built as standalone package vs subdirectory build:
189189

190-
1) In _standalone build_ a number of standard and HIDAPI-specific variables are marked as _cache variables_ or _options_.
190+
1. In _standalone build_ a number of standard and HIDAPI-specific variables are marked as _cache variables_ or _options_.
191191
This is done for convenience: when you're building HIDAPI as a standalone package and using tools like `cmake-gui` - those are highlighted as variables that can be changed and has some short description/documentation. E.g.:
192192
![an example of highlighted variables in cmake-gui](documentation/cmake-gui-highlights.png "cmake-gui highlighted variables")<br>
193193
E.g.2:<br>
194194
![an example of drop-down menu in cmake-gui](documentation/cmake-gui-drop-down.png "cmake-gui drop-down menu")<br>
195195
When HIDAPI is built as a _subdirectory_ - **_none of the variables are marked for cache or as options_** by HIDAPI.
196196
This is done to let the host project's developer decide what is important (what needs to be highlighted) and what's not.
197197

198-
2) The default behavior/default value for some of the variables is a bit different:
198+
1. The default behavior/default value for some of the variables is a bit different:
199199
- by default, none of HIDAPI targets are [installed](https://cmake.org/cmake/help/latest/command/install.html); if required, HIDAPI targets can be installed by host project _after_ including HIDAPI subdirectory (requires CMake 3.13 or later); **or**, the default installation can be enabled by setting `HIDAPI_INSTALL_TARGETS` variable _before_ including HIDAPI subdirectory.
200200
HIDAPI uses [GNUInstallDirs](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html) to specify install locations. Variables like `CMAKE_INSTALL_LIBDIR` can be used to control HIDAPI's installation locations. E.g.:
201201
```cmake
@@ -207,7 +207,7 @@ This is done to let the host project's developer decide what is important (what
207207
```
208208
- HIDAPI prints its version during the configuration when built as a standalone package; to enable this for subdirectory builds - set `HIDAPI_PRINT_VERSION` to TRUE before including HIDAPI;
209209

210-
3) In a subdirectory build, HIDAPI _doesn't modify or set any of the CMake variables_ that may change the build behavior.
210+
1. In a subdirectory build, HIDAPI _doesn't modify or set any of the CMake variables_ that may change the build behavior.
211211
For instance, in a _standalone build_, if CMAKE_BUILD_TYPE or BUILD_SHARED_LIBS variables are not set, those are defaulted to "Release" and "TRUE" explicitly.
212212
In a _subdirectory build_, even if not set, those variables remain unchanged, so a host project's developer has a full control over the HIDAPI build configuration.
213213

0 commit comments

Comments
 (0)