
* libraries are now generated in [BUILD_DIR]/lib * passed the user_options to all libraries now. This means I could remove a couple of Export/Import lines. * Changed the order in source/blender/src/SConscript and source/gameengine/SConscript. All libraries are now sorted alphabetically. This has no impact on the build process.
31 lines
1.2 KiB
Python
Executable File
31 lines
1.2 KiB
Python
Executable File
kx_network_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
Import ('python_include')
|
|
Import ('user_options_dict')
|
|
kx_network_env.Append (CCFLAGS = cflags)
|
|
kx_network_env.Append (CXXFLAGS = cxxflags)
|
|
kx_network_env.Append (CPPDEFINES = defines)
|
|
|
|
source_files = ['KX_NetworkEventManager.cpp',
|
|
'KX_NetworkMessageActuator.cpp',
|
|
'KX_NetworkMessageSensor.cpp',
|
|
'KX_NetworkObjectActuator.cpp',
|
|
'KX_NetworkObjectSensor.cpp'
|
|
]
|
|
|
|
kx_network_env.Append (CPPPATH = ['.',
|
|
'#source/kernel/gen_system',
|
|
'#intern/string',
|
|
python_include,
|
|
'#source/gameengine/Ketsji',
|
|
'#source/gameengine/GameLogic',
|
|
'#source/gameengine/Expressions',
|
|
'#source/gameengine/Network',
|
|
])
|
|
|
|
kx_network_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/KX_network', source=source_files)
|