Browse Source

fixed tests

master
Robin Thoni 9 years ago
parent
commit
83fd276a98
2 changed files with 5 additions and 3 deletions
  1. 2
    0
      libptsocket.pro
  2. 3
    3
      tests/tests.pro

+ 2
- 0
libptsocket.pro View File

@@ -1,5 +1,7 @@
1 1
 TEMPLATE = subdirs
2 2
 
3
+include(commons.pri)
4
+
3 5
 SUBDIRS += \
4 6
     ptsocket
5 7
 

+ 3
- 3
tests/tests.pro View File

@@ -10,9 +10,9 @@ include(../commons.pri)
10 10
 SOURCES += main.cpp test.cpp bctest.cpp
11 11
 HEADERS += test.h bctest.h
12 12
 
13
-win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/release/ -lptsocket
14
-else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/debug/ -lptsocket
15
-else:unix:!macx: LIBS += -L$$OUT_PWD/../ptsocket/ -lptsocket
13
+win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/release/ -lptsocketqt$$QT_MAJOR_VERSION
14
+else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/debug/ -lptsocketqt$$QT_MAJOR_VERSION
15
+else:unix:!macx: LIBS += -L$$OUT_PWD/../ptsocket/ -lptsocketqt$$QT_MAJOR_VERSION
16 16
 
17 17
 INCLUDEPATH += $$PWD/../ptsocket
18 18
 DEPENDPATH += $$PWD/../ptsocket

Loading…
Cancel
Save