summaryrefslogtreecommitdiffstats
path: root/Heimdall/heimdall-frontend/heimdall-frontend.pro
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-04 03:51:05 +0100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-04 03:51:05 +0100
commit2949aca6a9fc8c4186376128f757227f40e3a515 (patch)
tree83560698523705e3a2ed7b89419b9c52bc7841fa /Heimdall/heimdall-frontend/heimdall-frontend.pro
parentTook out extraneous ']' from usage message. (diff)
downloadHeimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar.gz
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar.bz2
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar.lz
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar.xz
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.tar.zst
Heimdall-2949aca6a9fc8c4186376128f757227f40e3a515.zip
Diffstat (limited to 'Heimdall/heimdall-frontend/heimdall-frontend.pro')
-rw-r--r--Heimdall/heimdall-frontend/heimdall-frontend.pro25
1 files changed, 23 insertions, 2 deletions
diff --git a/Heimdall/heimdall-frontend/heimdall-frontend.pro b/Heimdall/heimdall-frontend/heimdall-frontend.pro
index d6c9d82..7e1049b 100644
--- a/Heimdall/heimdall-frontend/heimdall-frontend.pro
+++ b/Heimdall/heimdall-frontend/heimdall-frontend.pro
@@ -4,12 +4,33 @@
TEMPLATE = app
TARGET = heimdall-frontend
+
macx {
DESTDIR = ../OSX
+} else win32 { # It's recommended that Windows users compile via VS2010, but just in case...
+ DESTDIR = ../Win32
+} else {
+ DESTDIR = ../Linux
}
-!macx {
- DESTDIR = /usr/local/bin
+
+macx {
+ PROPOSEDINSTALLDIR = /Applications
+} else {
+ PROPOSEDINSTALLDIR = /usr/local/bin
}
+
+message("Install location:" $$PROPOSEDINSTALLDIR)
+DESIREDINSTALLDIR = $$prompt("Press ENTER to use the default location or type an alternative")
+
+equals(DESIREDINSTALLDIR, "") {
+ target.path = $$PROPOSEDINSTALLDIR
+} else {
+ target.path = $$DESIREDINSTALLDIR
+}
+
+
+INSTALLS += target
+
QT += core gui
CONFIG += release
DEFINES += QT_LARGEFILE_SUPPORT