mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-06 06:28:54 +01:00
add WARNINGS_AS_ERRORS cmake option (#176)
This commit is contained in:
parent
aa02012c14
commit
566076e3d8
3 changed files with 11 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ There are some CMake options you might care about:
|
|||
| `ENABLE_IO_THREAD` | `ON` | When enabled, we start up a thread to do io processing, if disabled you should call `Discord_UpdateConnection` yourself.
|
||||
| `USE_STATIC_CRT` | `OFF` | (Windows) Enable to statically link the CRT, avoiding requiring users install the redistributable package. (The prebuilt binaries enable this option)
|
||||
| [`BUILD_SHARED_LIBS`](https://cmake.org/cmake/help/v3.7/variable/BUILD_SHARED_LIBS.html) | `OFF` | Build library as a DLL
|
||||
| `WARNINGS_AS_ERRORS` | `OFF` | When enabled, compiles with `-Werror` (on *nix platforms). |
|
||||
|
||||
## Continuous Builds
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue