Modified Travis config and Makefile for CI

This commit is contained in:
2016-02-28 01:21:18 +03:00
parent 212a3e1f20
commit 035a96d9d0
2 changed files with 15 additions and 8 deletions

View File

@@ -5,6 +5,13 @@ compiler:
- gcc
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
- sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg
script: make

View File

@@ -1,10 +1,10 @@
all:
mkdir -p Build
g++ -c src/crossexport.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossexport.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c src/crossgen.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossgen.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c wxCrossGen/fmain.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fmain.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c wxCrossGen/main.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/main.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -c wxCrossGen/fbgui/fbgui.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fbgui.cpp.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++ -o ./Build/CrossGen ./Build/crossexport.cpp.o ./Build/crossgen.cpp.o ./Build/fbgui.cpp.cpp.o ./Build/fmain.cpp.o ./Build/fsettings.cpp.o ./Build/main.cpp.o -L. $(shell wx-config --debug=no --unicode=yes --libs all)
g++-4.8 -c src/crossexport.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossexport.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c src/crossgen.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/crossgen.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c wxCrossGen/fmain.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fmain.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c wxCrossGen/fsettings.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fsettings.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c wxCrossGen/main.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/main.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -c wxCrossGen/fbgui/fbgui.cpp -std=c++11 -O3 -Wall $(shell wx-config --cxxflags --unicode=yes --debug=no) -DNDEBUG -o ./Build/fbgui.cpp.cpp.o -I. -Isrc -IwxCrossGen/fbgui -IwxCrossGen
g++-4.8 -o ./Build/CrossGen ./Build/crossexport.cpp.o ./Build/crossgen.cpp.o ./Build/fbgui.cpp.cpp.o ./Build/fmain.cpp.o ./Build/fsettings.cpp.o ./Build/main.cpp.o -L. $(shell wx-config --debug=no --unicode=yes --libs all)