[DEV] update Build interface

This commit is contained in:
Edouard DUPIN 2015-09-14 21:11:04 +02:00
parent 4f538a72c1
commit 7d2449b7da
2 changed files with 32 additions and 9 deletions

View File

@ -3,10 +3,6 @@ language:
sudo: false sudo: false
compiler:
- clang
- gcc
os: os:
- linux - linux
- osx - osx
@ -26,8 +22,18 @@ addons:
install: install:
- pip install --user lutin - pip install --user lutin
env:
- CONF=debug BOARD=Linux BUILDER=clang GCOV=
- CONF=release BOARD=Linux BUILDER=clang GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=
- CONF=release BOARD=Linux BUILDER=gcc GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov
before_script: before_script:
- cd .. - cd ..
- wget http://atria-soft.com/ci/coverage_send.py
- wget http://atria-soft.com/ci/test_send.py
- wget http://atria-soft.com/ci/warning_send.py
- git clone https://github.com/atria-soft/etk.git - git clone https://github.com/atria-soft/etk.git
- git clone https://github.com/atria-soft/exml.git - git clone https://github.com/atria-soft/exml.git
- git clone https://github.com/atria-soft/libagg.git - git clone https://github.com/atria-soft/libagg.git
@ -35,11 +41,10 @@ before_script:
- git clone https://github.com/generic-library/freetype-lutin.git --recursive - git clone https://github.com/generic-library/freetype-lutin.git --recursive
- pwd - pwd
- ls -l - ls -l
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi - if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
- if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
script: script:
- lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p esvg - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p esvg
notifications: notifications:
email: email:

View File

@ -22,8 +22,26 @@ def create(target):
'esvg/Rectangle.cpp', 'esvg/Rectangle.cpp',
'esvg/Renderer.cpp', 'esvg/Renderer.cpp',
'esvg/Stroking.cpp', 'esvg/Stroking.cpp',
'esvg/Text.cpp']) 'esvg/Text.cpp'
myModule.add_export_path(tools.get_current_path(__file__)) ])
myModule.add_header_file([
'esvg/Base.h',
'esvg/Circle.h',
'esvg/Ellipse.h',
'esvg/Group.h',
'esvg/Line.h',
'esvg/esvg.h',
'esvg/Path.h',
'esvg/Polygon.h',
'esvg/Polyline.h',
'esvg/Rectangle.h',
'esvg/Renderer.h',
'esvg/Stroking.h',
'esvg/Text.h'
])
myModule.add_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return myModule