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
30
31
32
33
34
35
36
37
38
39
40
|
# -*- mode: python -*-
Import("env")
env = env.Clone()
if env.TargetOSIs('windows'):
env.Prepend(CCFLAGS=[
# 'function' : destructor never returns, potential memory leak
'/wd4722',
])
env.Append(LIBS=["ShLwApi"])
env.Append(CPPDEFINES=["HAVE_STD_REGEX"])
src_dir=env.Dir('dist/src')
env.Library(
target="benchmark",
source=env.File([
'benchmark_api_internal.cc',
'benchmark.cc',
'benchmark_name.cc',
'benchmark_register.cc',
'benchmark_runner.cc',
'colorprint.cc',
'commandlineflags.cc',
'complexity.cc',
'console_reporter.cc',
'counter.cc',
'csv_reporter.cc',
'json_reporter.cc',
'reporter.cc',
'sleep.cc',
'statistics.cc',
'string_util.cc',
'sysinfo.cc',
'timers.cc',
], src_dir))
|