summaryrefslogtreecommitdiff
path: root/src/ModOrganizer.pro
blob: c4fd534eb0a694fcbedf32528948d8200006aff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
TEMPLATE = subdirs

SUBDIRS = bsatk \
          shared \
          uibase \
          esptk \
          organizer \
          hookdll \
          archive \
          helper \
          plugins \
          nxmhandler \
          BossDummy \
          pythonRunner \
          loot_cli

pythonRunner.depends = uibase
plugins.depends = pythonRunner uibase
hookdll.depends = shared
organizer.depends = shared uibase plugins

CONFIG(debug, debug|release) {
  DESTDIR = $$PWD/../outputd
} else {
  DESTDIR = $$PWD/../output
}

STATICDATAPATH = $${DESTDIR}\\..\\tools\\static_data\\dlls
DLLSPATH = $${DESTDIR}\\dlls

otherlibs.path = $$DLLSPATH
otherlibs.files += $${STATICDATAPATH}\\7z.dll \
    $${BOOSTPATH}\\stage\\lib\\boost_python-vc*-mt-1*.dll

qtlibs.path = $$DLLSPATH

greaterThan(QT_MAJOR_VERSION, 4) {
  QTLIBNAMES += Core Gui Network OpenGL Script Sql Svg Qml Quick Webkit Widgets Xml XmlPatterns
} else {
  QTLIBNAMES += Core Declarative Gui Network OpenGL Script Sql Svg Webkit Xml XmlPatterns
}

greaterThan(QT_MAJOR_VERSION, 5) {
  QTLIBNAMES += OpenGLWidgets
}

QTLIBSUFFIX = $${QT_MAJOR_VERSION}.dll
CONFIG(debug, debug|release): QTLIBSUFFIX = "d$${QTLIBSUFFIX}" # Can't use Debug: .. here, it ignores the line - no idea why, as it works in BossDummy.pro

for(QTNAME, QTLIBNAMES) {
  QTFILE = Qt$${QTNAME}
  qtlibs.files += $$[QT_INSTALL_BINS]\\$${QTFILE}$${QTLIBSUFFIX}
}

INSTALLS += qtlibs otherlibs

OTHER_FILES +=\
    ../SConstruct\
    ../scons_configure.py\
    SConscript