-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpp_parsecTest.pro
33 lines (23 loc) · 1.18 KB
/
cpp_parsecTest.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
QT += testlib
QT -= gui
TARGET = tst_parsectest
CONFIG += console
CONFIG -= app_bundle
CONFIG += c++1z
TEMPLATE = app
SOURCES += \
tst_parsec.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"
HEADERS += \
common.h
# ps targets
win32: CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../cpp_parsec/release/ -lcpp_parsec
else:win32: CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../cpp_parsec/debug/ -lcpp_parsec
else:unix: LIBS += -L$$OUT_PWD/../cpp_parsec/ -lcpp_parsec
INCLUDEPATH += $$PWD/../cpp_parsec
DEPENDPATH += $$PWD/../cpp_parsec
win32-g++: CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../cpp_parsec/release/libcpp_parsec.a
else:win32-g++: CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../cpp_parsec/debug/libcpp_parsec.a
else:win32:!win32-g++: CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../cpp_parsec/release/cpp_parsec.lib
else:win32:!win32-g++: CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../cpp_parsec/debug/cpp_parsec.lib
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../cpp_parsec/libcpp_parsec.a