diff --git a/EetCpp.pro b/EetCpp.pro index 7ff1968..d7f2855 100644 --- a/EetCpp.pro +++ b/EetCpp.pro @@ -1,4 +1,5 @@ TEMPLATE = subdirs +CONFIG += ordered SUBDIRS += libEet \ - eetsend \ No newline at end of file + eetsend diff --git a/eetsend/eetsend.pro b/eetsend/eetsend.pro index f1353dd..34ed0a9 100644 --- a/eetsend/eetsend.pro +++ b/eetsend/eetsend.pro @@ -11,9 +11,13 @@ TEMPLATE = app SOURCES += main.cpp -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libEet/release/ -lEetCpp -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libEet/debug/ -lEetCpp -else:unix: LIBS += -L$$OUT_PWD/../libEet/ -lEetCpp +CONFIG(debug, debug|release) { + DESTDIR = $$PWD/../bin/debug + LIBS += -L$$PWD/../bin/debug -lEetCpp +} else { + DESTDIR = $$PWD/../bin/release + LIBS += -L$$PWD/../bin/release -lEetCpp +} INCLUDEPATH += $$PWD/../libEet DEPENDPATH += $$PWD/../libEet diff --git a/libEet/libEet.pro b/libEet/libEet.pro index 55df752..af8d665 100644 --- a/libEet/libEet.pro +++ b/libEet/libEet.pro @@ -4,6 +4,10 @@ # #------------------------------------------------- +win32 { + QCA_PATH = d:/prac/qt/lib/qca +} + QT += network xmlpatterns QT -= gui @@ -15,6 +19,9 @@ TEMPLATE = lib DEFINES += EETCPP_LIBRARY +release:DESTDIR = $$PWD/../bin/release +debug:DESTDIR = $$PWD/../bin/debug + SOURCES += eetcpp.cpp \ eetrequest.cpp \ eettemplate.cpp \