Automated builds (#122)
* add travis and appveyor build scripts * add travis and appveyor badges to README.mdpull/125/head
parent
59a87a36c1
commit
c8a11227b5
|
@ -0,0 +1,8 @@
|
||||||
|
language: c
|
||||||
|
|
||||||
|
script:
|
||||||
|
- mkdir build
|
||||||
|
- pushd build
|
||||||
|
- cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- make install
|
||||||
|
- popd
|
|
@ -1,6 +1,11 @@
|
||||||
|
# Simple Open EtherCAT Master Library
|
||||||
|
[![Build Status](https://travis-ci.org/OpenEtherCATsociety/SOEM.svg?branch=master)](https://travis-ci.org/OpenEtherCATsociety/SOEM)
|
||||||
|
[![Build status](https://ci.appveyor.com/api/projects/status/bqgirjsxog9k1odf?svg=true)](https://ci.appveyor.com/project/hefloryd/soem-5kq8b)
|
||||||
|
|
||||||
BUILDING
|
BUILDING
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
||||||
Prerequisites for all platforms
|
Prerequisites for all platforms
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
version: "{build}"
|
||||||
|
|
||||||
|
install:
|
||||||
|
- cmd: '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86'
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- cmd: mkdir build
|
||||||
|
- cmd: cd build
|
||||||
|
- cmd: cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- cmd: nmake install
|
Loading…
Reference in New Issue