Skip to content

Commit

Permalink
Use CMake definitions in README
Browse files Browse the repository at this point in the history
ci-skip
  • Loading branch information
nabijaczleweli committed Jun 7, 2019
1 parent d096364 commit 7fa880a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Some libraries are required for extended functionality. See the [Configurability
On Windows one needs to link to `gdi32`, `version`, `Ole32`, `OleAut32` and `wbemuuid`.

## Configurability
|`Makefile` definition|C++ preprocessor macro| Meaning |Linker library|Priority|
|---------------------|----------------------|-----------------------------------|--------------|--------|
| `USE_X11` | `INFOWARE_USE_X11` | Use X11 for display detection | `X11` | |
| `USE_D3D` | `INFOWARE_USE_D3D` | Use D3D for GPU detection | `dxgi` | >OpenCL|
| `USE_OPENCL` | `INFOWARE_USE_OPENCL`| Use OpenCL for GPU detection | `OpenCL` | <D3D |
| `USE_OPENGL` | `INFOWARE_USE_OPENGL`| Use OpenGL for GPU detection |OS-dependent\*| <OpenGL|
|CMake definition and C++ preprocessor macro| Meaning |Linker library|Priority|
|-------------------------------------------|-----------------------------------|--------------|--------|
| `INFOWARE_USE_X11` | Use X11 for display detection | `X11` | <Win32 |
| `INFOWARE_USE_D3D` | Use D3D for GPU detection | `dxgi` | >OpenCL|
| `INFOWARE_USE_OPENCL` | Use OpenCL for GPU detection | `OpenCL` | <D3D |
| `INFOWARE_USE_OPENGL` | Use OpenGL for GPU detection |OS-dependent\*| <OpenGL|


\*Consult the `OPENGL_LIB_LINK_NAME` variable in `configMakefile` for options
\*Consult the section under the `if(INFOWARE_USE_OPENGL)` condition in `CMakeLists.txt` for variants.

0 comments on commit 7fa880a

Please sign in to comment.