summaryrefslogtreecommitdiff
path: root/json/SConscript
blob: 2c9d8d9b4c3ea7a116d454033520869ce223b5bc (plain)
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
#!/bin/false

import os
import os.path
import glob


Import('env')

dir_path = Dir('.').abspath

# Environment for base library
core_env = env.Clone();

core_env.sources = sorted(glob.glob(dir_path + "/*.cpp"))
core_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))

env.sources += core_env.sources;
env.headers += core_env.headers;

objects_static = []
env.twitter_json_benchmark = core_env.Program('#build/twitter_json_benchmark', ['twitter_json_benchmark.cpp']);

# Set Alias
env.Alias('twitter_json_benchmark', [env.twitter_json_benchmark]);

env.targets += ['twitter_json_benchmark'];

# Install
env.Install('$prefix/bin/', [env.twitter_json_benchmark]);