-
Notifications
You must be signed in to change notification settings - Fork 390
/
SConscript
34 lines (27 loc) · 910 Bytes
/
SConscript
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
#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
# -*- mode: python; -*-
Import('BuildEnv')
env = BuildEnv.Clone()
env.CppDisableExceptions()
env.Append(CPPPATH = [env['TOP']])
SandeshGenFiles = env.SandeshGenCpp('io.sandesh')
SandeshGenSrcs = env.ExtractCpp(SandeshGenFiles)
except_env = BuildEnv.Clone()
except_env.Append(CPPPATH = env['TOP_INCLUDE'] + '/thrift')
except_env.Append(CPPPATH = [env['TOP']])
EventManagerSrc = except_env.Object('event_manager.o', 'event_manager.cc')
libio = env.Library('io',
SandeshGenSrcs +
EventManagerSrc +
[
'io_utils.cc',
'ssl_server.cc',
'ssl_session.cc',
'tcp_message_write.cc',
'tcp_server.cc',
'tcp_session.cc',
'udp_server.cc',
])
env.SConscript('test/SConscript', exports='BuildEnv', duplicate = 0)