diff options
| author | 2016-04-03 13:56:50 -0700 | |
|---|---|---|
| committer | 2016-04-03 13:56:50 -0700 | |
| commit | e3905cdfd8a3570090d9e1da42296035bffe06af (patch) | |
| tree | 717b4899f1383de9186ce1bca6644c70520da931 | |
| parent | Merge pull request #1638 from JayFoxRox/check-fb-complete (diff) | |
| parent | travis: Update dependencies (diff) | |
| download | yuzu-e3905cdfd8a3570090d9e1da42296035bffe06af.tar.gz yuzu-e3905cdfd8a3570090d9e1da42296035bffe06af.tar.xz yuzu-e3905cdfd8a3570090d9e1da42296035bffe06af.zip | |
Merge pull request #1640 from lioncash/cpp14
CMakeFiles: Compile as C++14
| -rwxr-xr-x | .travis-build.sh | 4 | ||||
| -rwxr-xr-x | .travis-deps.sh | 4 | ||||
| -rw-r--r-- | .travis.yml | 4 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/.travis-build.sh b/.travis-build.sh index 22a3a9fd6..e06a4299b 100755 --- a/.travis-build.sh +++ b/.travis-build.sh | |||
| @@ -11,8 +11,8 @@ fi | |||
| 11 | 11 | ||
| 12 | #if OS is linux or is not set | 12 | #if OS is linux or is not set |
| 13 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then | 13 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then |
| 14 | export CC=gcc-4.9 | 14 | export CC=gcc-5 |
| 15 | export CXX=g++-4.9 | 15 | export CXX=g++-5 |
| 16 | export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH | 16 | export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH |
| 17 | 17 | ||
| 18 | mkdir build && cd build | 18 | mkdir build && cd build |
diff --git a/.travis-deps.sh b/.travis-deps.sh index eb99ead4f..c7bb7e785 100755 --- a/.travis-deps.sh +++ b/.travis-deps.sh | |||
| @@ -5,8 +5,8 @@ set -x | |||
| 5 | 5 | ||
| 6 | #if OS is linux or is not set | 6 | #if OS is linux or is not set |
| 7 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then | 7 | if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then |
| 8 | export CC=gcc-4.9 | 8 | export CC=gcc-5 |
| 9 | export CXX=g++-4.9 | 9 | export CXX=g++-5 |
| 10 | mkdir -p $HOME/.local | 10 | mkdir -p $HOME/.local |
| 11 | 11 | ||
| 12 | curl -L http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ | 12 | curl -L http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ |
diff --git a/.travis.yml b/.travis.yml index 2e875cccf..8d86baece 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -15,8 +15,8 @@ addons: | |||
| 15 | sources: | 15 | sources: |
| 16 | - ubuntu-toolchain-r-test | 16 | - ubuntu-toolchain-r-test |
| 17 | packages: | 17 | packages: |
| 18 | - gcc-4.9 | 18 | - gcc-5 |
| 19 | - g++-4.9 | 19 | - g++-5 |
| 20 | - xorg-dev | 20 | - xorg-dev |
| 21 | - lib32stdc++6 # For CMake | 21 | - lib32stdc++6 # For CMake |
| 22 | - lftp # To upload builds | 22 | - lftp # To upload builds |
diff --git a/CMakeLists.txt b/CMakeLists.txt index d6a4a915a..3a0a161e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -65,7 +65,7 @@ endif() | |||
| 65 | message(STATUS "Target architecture: ${ARCHITECTURE}") | 65 | message(STATUS "Target architecture: ${ARCHITECTURE}") |
| 66 | 66 | ||
| 67 | if (NOT MSVC) | 67 | if (NOT MSVC) |
| 68 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread") | 68 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes -pthread") |
| 69 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") | 69 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") |
| 70 | 70 | ||
| 71 | if (ARCHITECTURE_x86_64) | 71 | if (ARCHITECTURE_x86_64) |