buildpath.pri 623 Bytes
Newer Older
Aard's avatar
Aard committed
1
isEmpty(BUILD){
Aard's avatar
Aard committed
2 3 4 5 6
        isEmpty(TARGETDIR){
                BUILD = $$PWD/build/$$TARGET
        } else {
                BUILD = $$PWD/build/$$TARGETDIR
        }
Aard's avatar
Aard committed
7 8 9 10 11 12 13 14 15 16 17 18
}
isEmpty(DESTDIR){
        DESTDIR = $$BUILD
}

OBJECTS_DIR = $$BUILD
MOC_DIR = $$BUILD
UI_DIR = $$BUILD
UI_HEADERS_DIR = $$BUILD
UI_SOURCES_DIR = $$BUILD
RCC_DIR = $$BUILD

19 20
# This definitely needs to be refactorized somehow (the common module{.pro,.pri,_dependencies.pri}
# approach would do a good job here)
Aard's avatar
Aard committed
21
LIBS += -L$$PWD/build/libssu
22 23
LIBS += -L$$PWD/build/testutils
LD_LIBRARY_PATH = $$PWD/build/libssu:$$PWD/build/testutils
Aard's avatar
Aard committed
24
INCLUDEPATH += $$PWD/libssu