mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
f0f53dbd55
Having -Werror set by default causes users' builds to fail because toxcore is not warning-free. Failing on errors is appropriate for the development phase, e.g. when building it in a CI enviroment, but it doesn't make much sense to fail builds for users and let them figure out that they need to pass -DWARNINGS=OFF to make the library build.
15 lines
143 B
Bash
15 lines
143 B
Bash
#!/bin/sh
|
|
|
|
CMAKE=cmake
|
|
CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DFORMAT_TEST=ON"
|
|
NPROC=`nproc`
|
|
CURDIR=$PWD
|
|
|
|
RUN() {
|
|
"$@"
|
|
}
|
|
|
|
TESTS() {
|
|
"$@"
|
|
}
|