aboutsummaryrefslogtreecommitdiffstats
path: root/Heimdall/heimdall-frontend/heimdall-frontend.pro
diff options
context:
space:
mode:
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