summaryrefslogtreecommitdiff
path: root/src/shared/SConscript
blob: daf8f2dadb57aa8ce3559d0ca6854cb4b3feac8c (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
import os.path

Import('qt_env')

env = qt_env.Clone()

modules = [
    'Core',
    'Gui'
]

env.EnableQt4Modules(['Qt' + n for n in modules],
                     debug = env['CONFIG'] == 'debug')

env.StaticLibrary('mo_shared', env.Glob('*.cpp'))

env.AppendUnique(CPPDEFINES = [
    'UNICODE',
    '_UNICODE',
    '_CRT_SECURE_NO_WARNINGS',
    'BOOST_DISABLE_ASSERTS',
    'NDEBUG'
])

env.AppendUnique(CPPPATH = [
    '../bsatk',
    '${BOOSTPATH}',
    '.' # Seriously!
])