Issue #47 - Add C++11 flags

This commit is contained in:
Jozef Kolek 2017-04-17 16:32:28 +02:00
parent 05869b0c00
commit 35057f6270
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@ compiler:
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; fi
script: CXXFLAGS='-std=c++0x' cmake . && make
script: cmake . && make
matrix:
exclude:
- compiler: gcc

View File

@ -2,5 +2,9 @@ cmake_minimum_required (VERSION 2.8)
project (pe-parse)
if(UNIX)
set(CMAKE_CXX_FLAGS "-std=c++0x")
endif(UNIX)
add_subdirectory(parser-library)
add_subdirectory(dump-prog)