瀏覽代碼

fixed tests

master
Robin Thoni 9 年之前
父節點
當前提交
83fd276a98
共有 2 個檔案被更改,包括 5 行新增3 行删除
  1. 2
    0
      libptsocket.pro
  2. 3
    3
      tests/tests.pro

+ 2
- 0
libptsocket.pro 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存