mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
Use C++14
This commit is contained in:
parent
c54273bb63
commit
b4aa01e4bb
@ -1,9 +1,14 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
language: cpp
|
||||
language: generic
|
||||
env:
|
||||
- CXX=g++-5 CC=gcc-5
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-5
|
||||
- libbullet-dev
|
||||
- libsdl2-dev
|
||||
- libmad0-dev
|
||||
|
@ -8,7 +8,7 @@ project(OpenRW)
|
||||
|
||||
# Global Build Configuration
|
||||
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(RW_VERBOSE_DEBUG_MESSAGES 1 CACHE BOOL "Print verbose debugging messages")
|
||||
|
Loading…
Reference in New Issue
Block a user