summaryrefslogtreecommitdiff
path: root/src/shared/SConscript
blob: 35c65d735beb7ead75fbd1085e645bbcf8025728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Import('qt_env')

env = qt_env.Clone()

env.EnableQtModules('Core', 'Gui')

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

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

# Not sure if renaming this helps much as it's static
env.StaticLibrary('mo_shared', env.Glob('*.cpp'))