Remove warnings-as-errors by default
Compiling C++ on various different platforms with as many out of tree dependencies as we have is volatile at best. In order to prevent a third party warning from ruining the build for people who don't care about third party warnings, we remove warnings-as-errors by default. They are still enabled by default on CI.
This commit is contained in:
committed by
username223
parent
44a5d3eed0
commit
5a7fe687d8
@@ -343,6 +343,7 @@ The following values can be appended to the `CONFIG` internal variable in order
|
||||
| `noDBUS` | Disables DBUS specific features (control media players). |
|
||||
| `noPulse` | Disables PulseAudio specific features (change audio devices). |
|
||||
| `debugSymbolsAndLogs` | Enables debug symbols and debug logging calls (while still having release optimizations). |
|
||||
| `warnings_as_errors` | Makes compiler warnings failing errors (not needed unless you're changing the source). |
|
||||
|
||||
The values are case sensitive.
|
||||
|
||||
@@ -361,6 +362,11 @@ If you want to disable X11, DBUS and PulseAudio features you would type
|
||||
qmake CONFIG+=noX11 CONFIG+=noDBUS CONFIG+=noPulse
|
||||
```
|
||||
|
||||
If you want to compile with warnings as errors you would type
|
||||
```bash
|
||||
qmake CONFIG+=warnings_as_errors
|
||||
```
|
||||
|
||||
The location for `make install` can be configured in the `qmake` step.
|
||||
This is done by setting the `PREFIX` variable.
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user