diff options
| author | Tannin <devnull@localhost> | 2014-07-15 17:48:43 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-07-15 17:48:43 +0200 |
| commit | 434b6be69dd425504c293866fd4f9d7556ec7342 (patch) | |
| tree | 262ddf986f6522443fbe79f4feaed28b93cac33c /src/organizer.pro | |
| parent | 84c66727bff954fd0820fc9f33833848496e9531 (diff) | |
| parent | bfb3385e4932530928cff5a94ad56d8f30e5babe (diff) | |
merged changes by TheBloke
Diffstat (limited to 'src/organizer.pro')
| -rw-r--r-- | src/organizer.pro | 104 |
1 files changed, 56 insertions, 48 deletions
diff --git a/src/organizer.pro b/src/organizer.pro index 17618377..de7a3a35 100644 --- a/src/organizer.pro +++ b/src/organizer.pro @@ -5,15 +5,15 @@ #-------------------------------------------------
-contains(QT_VERSION, "^5.*") {
+TARGET = ModOrganizer
+TEMPLATE = app
+
+greaterThan(QT_MAJOR_VERSION, 4) {
QT += core gui widgets network xml sql xmlpatterns qml quick script webkit
} else {
QT += core gui network xml declarative script sql xmlpatterns webkit
}
-TARGET = ModOrganizer
-TEMPLATE = app
-
SOURCES += \
transfersavesdialog.cpp \
syncoverwritedialog.cpp \
@@ -204,28 +204,68 @@ FORMS += \ browserdialog.ui \
aboutdialog.ui
+RESOURCES += \
+ resources.qrc \
+ stylesheet_resource.qrc
+
+RC_FILE += \
+ app_icon.rc
+
+OTHER_FILES += \
+ version.rc \
+ tutorials/firststeps.qml \
+ tutorials/tutorials.js \
+ tutorials/tutorial_firststeps_main.js \
+ tutorials/tutorials_settingsdialog.qml \
+ tutorials/tutorials_mainwindow.qml \
+ tutorials/Highlight.qml \
+ tutorials/TutorialDescription.qml \
+ tutorials/TutorialOverlay.qml \
+ tutorials/tutorials_nexusdialog.qml \
+ tutorials/tutorials_modinfodialog.qml \
+ tutorials/tutorial_firststeps_modinfo.js \
+ tutorials/tutorial_conflictresolution_main.js \
+ tutorials/tutorial_conflictresolution_modinfo.js \
+ app_icon.rc \
+ dark.qss \
+ stylesheets/dark.qss \
+ tutorials/tutorial_window_installer.js \
+ tutorials/tutorials_installdialog.qml \
+ tutorials/tutorial_firststeps_settings.js
+
+
+# leak detection with vld
+#INCLUDEPATH += "E:/Visual Leak Detector/include"
+#LIBS += -L"E:/Visual Leak Detector/lib/Win32"
+#DEFINES += LEAK_CHECK_WITH_VLD
+
+#SOURCES += modeltest.cpp
+#HEADERS += modeltest.h
+#DEFINES += TEST_MODELS
+
+
INCLUDEPATH += ../shared ../archive ../uibase ../bsatk ../esptk ../boss_modified/boss-api "$(BOOSTPATH)"
LIBS += -L"$(BOOSTPATH)/stage/lib"
CONFIG(debug, debug|release) {
- OUTDIR = $$OUT_PWD/debug
- DSTDIR = $$PWD/../../outputd
LIBS += -L$$OUT_PWD/../shared/debug
LIBS += -L$$OUT_PWD/../bsatk/debug
LIBS += -L$$OUT_PWD/../uibase/debug
LIBS += -L$$OUT_PWD/../boss_modified/debug
LIBS += -lDbgHelp
+ PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/mo_shared.lib \
+ $$OUT_PWD/../bsatk/debug/bsatk.lib
} else {
- OUTDIR = $$OUT_PWD/release
- DSTDIR = $$PWD/../../output
LIBS += -L$$OUT_PWD/../shared/release
LIBS += -L$$OUT_PWD/../bsatk/release
- LIBS += -L$$OUT_PWD/../uibase/release
+ LIBS += -L$$OUT_PWD/../uibase/release
LIBS += -L$$OUT_PWD/../boss_modified/release
QMAKE_CXXFLAGS += /Zi /GL
# QMAKE_CXXFLAGS -= -O2
QMAKE_LFLAGS += /DEBUG /LTCG /OPT:REF /OPT:ICF
+ PRE_TARGETDEPS += $$OUT_PWD/../shared/release/mo_shared.lib \
+ $$OUT_PWD/../bsatk/release/bsatk.lib
}
#QMAKE_CXXFLAGS_WARN_ON -= -W3
@@ -278,6 +318,13 @@ DEFINES += BOOST_DISABLE_ASSERTS NDEBUG HGID = $$system(hg id -i)
DEFINES += HGID=\\\"$${HGID}\\\"
+CONFIG(debug, debug|release) {
+ OUTDIR = $$OUT_PWD/debug
+ DSTDIR = $$PWD/../../outputd
+} else {
+ OUTDIR = $$OUT_PWD/release
+ DSTDIR = $$PWD/../../output
+}
SRCDIR = $$PWD
SRCDIR ~= s,/,$$QMAKE_DIR_SEP,g
@@ -297,42 +344,3 @@ CONFIG(debug, debug|release) { } else {
QMAKE_POST_LINK += xcopy /y /s /I $$quote($$SRCDIR\\..\\dlls.*manifest) $$quote($$DSTDIR)\\dlls $$escape_expand(\\n)
}
-
-RESOURCES += \
- resources.qrc \
- stylesheet_resource.qrc
-
-RC_FILE += \
- app_icon.rc
-
-OTHER_FILES += \
- version.rc \
- tutorials/firststeps.qml \
- tutorials/tutorials.js \
- tutorials/tutorial_firststeps_main.js \
- tutorials/tutorials_settingsdialog.qml \
- tutorials/tutorials_mainwindow.qml \
- tutorials/Highlight.qml \
- tutorials/TutorialDescription.qml \
- tutorials/TutorialOverlay.qml \
- tutorials/tutorials_nexusdialog.qml \
- tutorials/tutorials_modinfodialog.qml \
- tutorials/tutorial_firststeps_modinfo.js \
- tutorials/tutorial_conflictresolution_main.js \
- tutorials/tutorial_conflictresolution_modinfo.js \
- app_icon.rc \
- dark.qss \
- stylesheets/dark.qss \
- tutorials/tutorial_window_installer.js \
- tutorials/tutorials_installdialog.qml \
- tutorials/tutorial_firststeps_settings.js
-
-
-# leak detection with vld
-#INCLUDEPATH += "E:/Visual Leak Detector/include"
-#LIBS += -L"E:/Visual Leak Detector/lib/Win32"
-#DEFINES += LEAK_CHECK_WITH_VLD
-
-#SOURCES += modeltest.cpp
-#HEADERS += modeltest.h
-#DEFINES += TEST_MODELS
|
