blob: 15c42cae371158441dd064f71cd70515596e7547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
ng_network_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
ng_network_env.Append (CCFLAGS = cflags)
ng_network_env.Append (CXXFLAGS = cxxflags)
ng_network_env.Append (CPPDEFINES = defines)
source_files = ['NG_NetworkMessage.cpp',
'NG_NetworkObject.cpp',
'NG_NetworkScene.cpp']
ng_network_env.Append (CPPPATH=['.',
'#source/kernel/gen_system',
'#intern/string'
])
ng_network_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/NG_network', source=source_files)
|