Commit 54f6d08b authored by Matthew Hausknecht's avatar Matthew Hausknecht

Updated travis.

parent d3ee076e
...@@ -7,6 +7,8 @@ addons: ...@@ -7,6 +7,8 @@ addons:
- boost-latest - boost-latest
packages: packages:
- libboost-dev - libboost-dev
- libboost-system-dev
- libboost-filesystem-dev
os: os:
- linux - linux
- osx - osx
...@@ -14,4 +16,5 @@ compiler: ...@@ -14,4 +16,5 @@ compiler:
- clang - clang
- gcc - gcc
script: script:
- cmake -DCMAKE_BUILD_TYPE=Release && make -j4 - mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release && make -j4 && make install
\ No newline at end of file
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8.12)
project(hfo) project(hfo)
include(ExternalProject) include(ExternalProject)
option(BUILD_SOCCERWINDOW "Build Soccerwindow Visualizer" ON) option(BUILD_SOCCERWINDOW "Build Soccerwindow Visualizer" ON)
option(INSTALL_ADDITIONAL_TEAMS "Install additional team binaries" ON) option(INSTALL_ADDITIONAL_TEAMS "Install additional team binaries" ON)
add_definitions(-DELOG -std=c++11) add_definitions(-DELOG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(Boost REQUIRED) find_package(Boost COMPONENTS system filesystem REQUIRED)
find_package(ZLIB REQUIRED)
find_package(FLEX REQUIRED)
include_directories(${Boost_INCLUDE_DIRS}) include_directories(${Boost_INCLUDE_DIRS})
ExternalProject_Add(rcssserver ExternalProject_Add(rcssserver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment