summaryrefslogtreecommitdiffstats
path: root/tests/SConstruct
blob: b2d524ccf15d83f54e8873112161e5b13176aa20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
env = DefaultEnvironment()

# Add the builders defined in site_init.py
add_nanopb_builders(env)

# Path to the files shared by tests, and to the nanopb core.
env.Append(CPPPATH = ["#../", "#common"])

# Path for finding nanopb.proto
env.Append(PROTOCPATH = ['#../generator', '/usr/include', '.'])

# Define the include path to find nanopb.proto
env.Append(PROTOCPATH = ['#../generator', '/usr/include', '.'])

# Now include the SConscript files from all subdirectories
SConscript(Glob('*/SConscript'), exports = 'env')