Add install targets

refs #486
This commit is contained in:
Roland Winklmeier
2015-08-19 15:46:17 +02:00
committed by Mathew Sutcliffe
parent 2b63fd0a91
commit 5eddef0f12
23 changed files with 320 additions and 35 deletions

View File

@@ -37,4 +37,12 @@ DLLDESTDIR = $$DestRoot/bin
OTHER_FILES += readme.txt *.xml
win32 {
dlltarget.path = $$PREFIX/bin
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/lib
INSTALLS += target
}
load(common_post)

View File

@@ -56,4 +56,18 @@ DLLDESTDIR = $$DestRoot/bin
OTHER_FILES += ./qss/*.qss ./qss/*.css ./qss/*.ini *.ico *.rc
COPY_FILES += $$PWD/qss/*
win32 {
dlltarget.path = $$PREFIX/bin
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/lib
INSTALLS += target
}
package_utils.path = $$PREFIX/qss
package_utils.files += qss/*.qss
package_utils.files += qss/*.css
package_utils.files += qss/*.ini
INSTALLS += package_utils
load(common_post)

View File

@@ -48,4 +48,12 @@ DLLDESTDIR = $$DestRoot/bin
OTHER_FILES +=
RESOURCES +=
win32 {
dlltarget.path = $$PREFIX/bin
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/lib
INSTALLS += target
}
load(common_post)

View File

@@ -65,4 +65,12 @@ DLLDESTDIR = $$DestRoot/bin
OTHER_FILES += $$TRANSLATIONS readme.txt
win32 {
dlltarget.path = $$PREFIX/bin
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/lib
INSTALLS += target
}
load(common_post)

View File

@@ -30,4 +30,17 @@ OTHER_FILES += ./sounds/*.wav sounds/readme.txt
COPY_FILES += $$PWD/sounds/*
RESOURCES +=
win32 {
dlltarget.path = $$PREFIX/bin
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/lib
INSTALLS += target
}
package_sounds.path = $$PREFIX/sounds
package_sounds.files += sounds/*.wav
package_sounds.files += sounds/readme.txt
INSTALLS += package_sounds
load(common_post)

View File

@@ -23,4 +23,12 @@ HEADERS += *.h
DESTDIR = $$DestRoot/bin/plugins/simulator
win32 {
dlltarget.path = $$PREFIX/bin/plugins/simulator
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/bin/plugins/simulator
INSTALLS += target
}
load(common_post)

View File

@@ -23,4 +23,12 @@ HEADERS += *.h
DESTDIR = $$DestRoot/bin/plugins/simulator
win32 {
dlltarget.path = $$PREFIX/bin/plugins/simulator
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/bin/plugins/simulator
INSTALLS += target
}
load(common_post)

View File

@@ -16,4 +16,12 @@ HEADERS += *.h
DESTDIR = $$DestRoot/bin/plugins/simulator
win32 {
dlltarget.path = $$PREFIX/bin/plugins/simulator
INSTALLS += dlltarget
} else {
target.path = $$PREFIX/bin/plugins/simulator
INSTALLS += target
}
load(common_post)

View File

@@ -25,4 +25,7 @@ DISTFILES += swiftcore.rc
DESTDIR = $$DestRoot/bin
target.path = $$PREFIX/bin
INSTALLS += target
load(common_post)

View File

@@ -26,4 +26,7 @@ DISTFILES += swiftdata.rc
DESTDIR = $$DestRoot/bin
target.path = $$PREFIX/bin
INSTALLS += target
load(common_post)

View File

@@ -34,4 +34,7 @@ DISTFILES += swift.rc
DESTDIR = $$DestRoot/bin
target.path = $$PREFIX/bin
INSTALLS += target
load(common_post)