aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@optofidelity.com>2017-11-13 15:59:58 +0200
committerOskari Timperi <oskari.timperi@optofidelity.com>2017-11-13 15:59:58 +0200
commitb7f6da25a91fea9d2c3de64148afd9aa00af92a2 (patch)
tree9df07d07b94bb57dad391c6a257184d9b0e23248
parent1125280cee79c4a626ce7c8ea5ab20f1e87c19b5 (diff)
downloadSimpleMotionV2-b7f6da25a91fea9d2c3de64148afd9aa00af92a2.tar.gz
SimpleMotionV2-b7f6da25a91fea9d2c3de64148afd9aa00af92a2.zip
Add appveyour.yml and makefile for windows
-rw-r--r--appveyor.yml11
-rw-r--r--makefile.nmake15
2 files changed, 26 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..701bf94
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,11 @@
+image: Visual Studio 2015
+
+platform:
+ - x86
+ - x64
+
+build_script:
+- cmd: >-
+ if "%platform%" == "x86" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86
+ if "%platform%" == "x64" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" amd64
+ nmake /f makefile.nmake
diff --git a/makefile.nmake b/makefile.nmake
new file mode 100644
index 0000000..83ae9a4
--- /dev/null
+++ b/makefile.nmake
@@ -0,0 +1,15 @@
+CFLAGS = /I. /DNOGDI=true /D_CRT_SECURE_NO_WARNINGS /DWIN32_MEAN_AND_LEAN \
+ /W4 /NOLOGO
+
+OBJS = \
+ bufferedmotion.obj \
+ busdevice.obj \
+ devicedeployment.obj \
+ drivers/serial/pcserialport.obj \
+ drivers/tcpip/tcpclient.obj \
+ simplemotion.obj \
+ sm_consts.obj
+
+simplemotionv2.lib: $(OBJS)
+ if exist simplemotionv2.lib del simplemotionv2.lib
+ lib /out:simplemotionv2.lib $(OBJS)