Ver código fonte

fixed tests

master
Robin Thoni 9 anos atrás
pai
commit
83fd276a98
2 arquivos alterados com 5 adições e 3 exclusões
  1. 2
    0
      libptsocket.pro
  2. 3
    3
      tests/tests.pro

+ 2
- 0
libptsocket.pro Ver arquivo

@@ -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 Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar