1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-01 16:32:31 +01:00

Use C++14

This commit is contained in:
Daniel Evans 2016-10-17 21:16:25 +01:00
parent c54273bb63
commit b4aa01e4bb
2 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
sudo: required sudo: required
dist: trusty dist: trusty
language: cpp language: generic
env:
- CXX=g++-5 CC=gcc-5
addons: addons:
apt: apt:
sources:
- ubuntu-toolchain-r-test
packages: packages:
- g++-5
- libbullet-dev - libbullet-dev
- libsdl2-dev - libsdl2-dev
- libmad0-dev - libmad0-dev

View File

@ -8,7 +8,7 @@ project(OpenRW)
# Global Build Configuration # Global Build Configuration
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DRW_DEBUG=1") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DRW_DEBUG=1")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pthread -Wextra -Wpedantic") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pthread -Wextra -Wpedantic")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
set(RW_VERBOSE_DEBUG_MESSAGES 1 CACHE BOOL "Print verbose debugging messages") set(RW_VERBOSE_DEBUG_MESSAGES 1 CACHE BOOL "Print verbose debugging messages")