Add Travis CL
This commit is contained in:
parent
8e2a4942fa
commit
12a48d1816
3 changed files with 8 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
.*
|
||||
!.gitignore
|
||||
!.travis.yml
|
||||
bin/*
|
||||
CMakeFiles/*
|
||||
cmake_install.cmake
|
||||
|
|
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
install: make get-deps libsdl2* libglew* libglut* libglew-dev:i386 libsndfile-dev
|
||||
|
||||
compiler:
|
||||
- g++
|
||||
- gcc
|
|
@ -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")
|
||||
|
|
Reference in a new issue