mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
db22522741
- This PR also adds a DEBUG cmake option that enables -DTOX_DEBUG. - We also remove `-Wall`, because there are too many warnings, and nobody really looks at them at the moment. We'll see about fixing them soon. We'll also want to enable `-Werror` at some point. - Finally, this PR enables `-O3` to make sure toxcore still works correctly under heavy compiler optimisations.
12 lines
136 B
Bash
12 lines
136 B
Bash
#!/bin/sh
|
|
|
|
. other/travis/env.sh
|
|
|
|
RUN() {
|
|
"$@"
|
|
}
|
|
export CMAKE=cmake
|
|
export MAKE=make
|
|
export PREFIX=$PWD/_install
|
|
export NPROC=`nproc`
|