Alexander Afanasyev | b4b9229 | 2013-07-09 13:54:59 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
Yingdi Yu | a43601f | 2014-05-09 14:29:16 -0700 | [diff] [blame^] | 2 | VERSION='0.1' |
| 3 | APPNAME='QT-Test' |
Alexander Afanasyev | b4b9229 | 2013-07-09 13:54:59 -0700 | [diff] [blame] | 4 | |
| 5 | def options(opt): |
Alexander Afanasyev | b4b9229 | 2013-07-09 13:54:59 -0700 | [diff] [blame] | 6 | opt.load('compiler_c compiler_cxx boost protoc qt4') |
Yingdi Yu | a43601f | 2014-05-09 14:29:16 -0700 | [diff] [blame^] | 7 | |
Alexander Afanasyev | b4b9229 | 2013-07-09 13:54:59 -0700 | [diff] [blame] | 8 | def configure(conf): |
| 9 | conf.load("compiler_c compiler_cxx") |
| 10 | |
Yingdi Yu | a43601f | 2014-05-09 14:29:16 -0700 | [diff] [blame^] | 11 | # conf.add_supported_cxxflags (cxxflags = ['-O3', '-g']) |
Alexander Afanasyev | b4b9229 | 2013-07-09 13:54:59 -0700 | [diff] [blame] | 12 | |
| 13 | conf.load('protoc') |
| 14 | |
| 15 | conf.load('qt4') |
| 16 | |
| 17 | conf.load('boost') |
| 18 | |
Alexander Afanasyev | df7e569 | 2013-07-15 12:43:12 -0700 | [diff] [blame] | 19 | conf.check_boost(lib='system random thread') |