From d06baaaa1d252b88592fd91a318bbd52d8de508d Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Fri, 25 Oct 2013 06:39:45 -0700 Subject: Clean up build of minor executables to use proper paths and obj subdirs --- encodeleaves/encodeleaves.pro | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'encodeleaves') diff --git a/encodeleaves/encodeleaves.pro b/encodeleaves/encodeleaves.pro index 6a32c0a..0ee4fdc 100644 --- a/encodeleaves/encodeleaves.pro +++ b/encodeleaves/encodeleaves.pro @@ -4,18 +4,22 @@ INCLUDEPATH += . .. # enable/disable debug symbols # CONFIG += debug +CONFIG += release CONFIG += console -build_pass:CONFIG(debug, debug|release) { - LIBS += -L../debug -L../quackleio/debug +debug { + OBJECTS_DIR = obj/debug } -build_pass:CONFIG(release, debug|release) { - LIBS += -L../release -L../quackleio/release +release { + OBJECTS_DIR = obj/release } -LIBS += -L.. -L../quackleio -lquackle -lquackleio +LIBS += -lquackle -lquackleio + +QMAKE_LFLAGS_RELEASE += -L../lib/release -L../quackleio/lib/release +QMAKE_LFLAGS_DEBUG += -L../lib/debug -L../quackleio/lib/debug # Input SOURCES += encodeleaves.cpp -- cgit v1.2.3