From 9e411c8fe5f3a7b507bca0c4e132454d7d57650c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 27 Dec 2010 01:14:27 +0100 Subject: Initial commit. --- SConstruct | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 SConstruct (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct new file mode 100644 index 0000000..325abe5 --- /dev/null +++ b/SConstruct @@ -0,0 +1,16 @@ +AddOption('--release', action = 'store_true') + +env = Environment(CPPPATH = ['.'], CCFLAGS = ['-pthread'], LINKFLAGS = ['-pthread']) + +conf = Configure(env) +conf.CheckLib('boost_system') +env = conf.Finish() + +if GetOption('release'): + env.Append(CCFLAGS = ['-O2']) +else: + env.Append(CCFLAGS = ['-Wall', '-g']) + +env.Program('audistd', Glob('*.cpp')) + +# vim: syn=python -- cgit v1.2.3