diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-04-14 17:50:52 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-04-14 17:50:52 +0000 |
| commit | 972f4c94407c92dfae6e34b6ff3183e90cc6e250 (patch) | |
| tree | a67f07d40ab3ac3fdbbd4160daa81263e93c1b23 /src/qmmpui/qmmpui.pro | |
| parent | 86ca407a01d6a79dc66a86f51328997803b87f43 (diff) | |
| download | qmmp-972f4c94407c92dfae6e34b6ff3183e90cc6e250.tar.gz qmmp-972f4c94407c92dfae6e34b6ff3183e90cc6e250.tar.bz2 qmmp-972f4c94407c92dfae6e34b6ff3183e90cc6e250.zip | |
improved build scripts
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@341 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpui.pro')
| -rw-r--r-- | src/qmmpui/qmmpui.pro | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/src/qmmpui/qmmpui.pro b/src/qmmpui/qmmpui.pro index 79f1d285b..db64c7198 100644 --- a/src/qmmpui/qmmpui.pro +++ b/src/qmmpui/qmmpui.pro @@ -4,37 +4,29 @@ TARGET = ../../lib/qmmpui CONFIG += release \ warn_on \ qt \ -thread +thread TEMPLATE = lib -isEmpty(LIB_DIR){ +unix:isEmpty(LIB_DIR){ LIB_DIR = /lib } -unix { - LINE1 = $$sprintf(echo \"%1ifndef CONFIG_H\" > ./config.h, $$LITERAL_HASH) - LINE2 = $$sprintf(echo \"%1define CONFIG_H\" >> ./config.h, $$LITERAL_HASH) - LINE3 = $$sprintf(echo \"%1define LIB_DIR \\\"%2\\\"\" >> ./config.h, $$LITERAL_HASH, $$LIB_DIR) - LINE4 = $$sprintf(echo \"%1endif\" >> ./config.h, $$LITERAL_HASH) - system($$LINE1) - system($$LINE2) - system($$LINE3) - system($$LINE4) - QMAKE_CLEAN = ./config.h -} +unix:DEFINES += LIB_DIR=\\\"$$LIB_DIR\\\" target.path = $$LIB_DIR INSTALLS += target HEADERS += general.h \ -generalfactory.h \ - generalhandler.h \ - songinfo.h \ - control.h + generalfactory.h \ + generalhandler.h \ + songinfo.h \ + control.h SOURCES += general.cpp \ - generalhandler.cpp \ - songinfo.cpp \ - control.cpp + generalhandler.cpp \ + songinfo.cpp \ + control.cpp + +DESTDIR = . |
