blob: 23aacb85df5c9eeeec6d1cb0a624329dc5fdaffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
AddOption('--release', action = 'store_true')
env = Environment(CPPPATH = ['.'], CCFLAGS = ['-pthread'], LINKFLAGS = ['-pthread'])
conf = Configure(env)
conf.CheckLib('boost_system')
conf.CheckLib('boost_filesystem')
env = conf.Finish()
if GetOption('release'):
env.Append(CCFLAGS = ['-O2'])
else:
env.Append(CCFLAGS = ['-Wall', '-g'])
env.Program('audistd', Glob('*.cpp'))
# vim: syn=python
|