This commit is contained in:
badim 2016-04-08 21:40:44 +03:00
parent 3e5b054534
commit 9645fcea79
3 changed files with 8 additions and 2 deletions

View File

@ -9,5 +9,5 @@ install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
- bash ./setup_env.sh
script:
- swift build
- if [[ "$(uname)" == "Darwin" ]]; then swift build -Xcc -I/usr/local/include; else swift build -Xcc -I/usr/include; fi

View File

@ -0,0 +1,6 @@
#ifndef zmw_swift_h
#define zmw_swift_h
#import <zmq.h>
#endif

View File

@ -1,5 +1,5 @@
module CZeroMQ {
header "/usr/local/include/zmq.h"
header "czeromq.h"
link "zmq"
export *
}