mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Minetest for C++11 (CMakeLists + Travis)
* Move GCC to GCC 6 & GCC 7 * Move Clang to Clang 3.6 & Clang 4.0 * LINT moves from Clang 3.9 to Clang 4.0 * Move XCode 7.3 to 8.0 * Use more travis tricks to install compilers instead of adding complexity to our build script * Clang format fixes on checked files (compat Cpp11 instead of Cpp03) * Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial) * Drop mingw cmake generated files and add them to gitignore
This commit is contained in:
parent
0e58168fe5
commit
bf6569b570
16 changed files with 149 additions and 77 deletions
|
@ -1,8 +1,8 @@
|
|||
#! /bin/bash
|
||||
function perform_lint() {
|
||||
echo "Performing LINT..."
|
||||
if hash clang-format-3.9 2>/dev/null; then
|
||||
CLANG_FORMAT=clang-format-3.9
|
||||
if hash clang-format-4.0 2>/dev/null; then
|
||||
CLANG_FORMAT=clang-format-4.0
|
||||
else
|
||||
CLANG_FORMAT=clang-format
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue