From 12a48d1816a0b7a9f8aac097bda7bc3a9a988ded Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 12 May 2017 17:53:31 +0100 Subject: [PATCH] Add Travis CL --- .gitignore | 1 + .travis.yml | 5 +++++ CMakeLists.txt | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index e2733f1..fbf33d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .* !.gitignore +!.travis.yml bin/* CMakeFiles/* cmake_install.cmake diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ccae469 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +install: make get-deps libsdl2* libglew* libglut* libglew-dev:i386 libsndfile-dev + +compiler: + - g++ + - gcc \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f1c22f..b436758 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ #require opengl,glew,glut,glu,al,alc,sndfile library IF (WIN32) - SET(CMAKE_C_COMPILER C:/mingw32/bin/) - SET(CMAKE_CXX_COMPILER C:/mingw32/bin/) + #SET(CMAKE_C_COMPILER C:/cygwin64/bin/) + #SET(CMAKE_CXX_COMPILER C:/cygwin64/bin/) ENDIF() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")