From 98fc91e77907285c0c2f9d8f6209d2df004835e1 Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Sat, 19 Aug 2017 18:18:00 +0300 Subject: Reorganized drivers (move them to drivers subfolder) --- SimpleMotionV2.pri | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'SimpleMotionV2.pri') diff --git a/SimpleMotionV2.pri b/SimpleMotionV2.pri index 17aea23..c63c339 100644 --- a/SimpleMotionV2.pri +++ b/SimpleMotionV2.pri @@ -7,20 +7,20 @@ DEPENDPATH += $$PWD DEFINES += SIMPLEMOTIONV2_LIBRARY -SOURCES += $$PWD/sm_consts.c $$PWD/simplemotion.c $$PWD/busdevice.c $$PWD/pcserialport.c \ - $$PWD/bufferedmotion.c $$PWD/tcpclient.c $$PWD/devicedeployment.c +SOURCES += $$PWD/sm_consts.c $$PWD/simplemotion.c $$PWD/busdevice.c $$PWD/drivers/serial/pcserialport.c \ + $$PWD/bufferedmotion.c $$PWD/drivers/tcpip/tcpclient.c $$PWD/devicedeployment.c HEADERS += $$PWD/simplemotion_private.h\ - $$PWD/pcserialport.h $$PWD/busdevice.h $$PWD/simplemotion.h $$PWD/sm485.h $$PWD/simplemotion_defs.h \ - $$PWD/bufferedmotion.h $$PWD/tcpclient.h $$PWD/devicedeployment.h + $$PWD/drivers/serial/pcserialport.h $$PWD/busdevice.h $$PWD/simplemotion.h $$PWD/sm485.h $$PWD/simplemotion_defs.h \ + $$PWD/bufferedmotion.h $$PWD/drivers/tcpip/tcpclient.h $$PWD/devicedeployment.h #If FTDI D2XX support is enabled greaterThan(SUPPORT_FTDI_D2XX_DRIVER, 0+) { SOURCES += $$PWD/drivers/ftdi_d2xx/sm_d2xx.c - macx:LIBS += -# win32:LIBS += $$PWD/drivers/ftdi_d2xx/static_w32_i386_ftd2xx.lib + HEADERS += $$PWD/drivers/ftdi_d2xx/sm_d2xx.c + macx:LIBS += #tbd. mac will also needs some helper tool to make it work.. win32:LIBS += $$PWD/drivers/ftdi_d2xx/ftd2xx.lib - linux:LIBS += + linux:LIBS += #tbd DEFINES += FTDI_D2XX_SUPPORT } -- cgit v1.2.3