SCons updates: (All done by jesterKing)
* Windows .exe file now includes the blender icon. * Builds with game engine on Windows only. I tried building the game engine on Linux, but I get weird errors when building with ode. There's a dirty #include path in Physics/BlOde/OdePhysicsEnvironment.cpp (../ode/src/joint.h). gcc doesn't like this somehow. * Other platforms need to add a couple of flags to the SConstruct: use_sumo, use_ode, solid_include and ode_include
This commit is contained in:
29
source/gameengine/Ketsji/KXNetwork/SConscript
Executable file
29
source/gameengine/Ketsji/KXNetwork/SConscript
Executable file
@@ -0,0 +1,29 @@
|
||||
kx_network_env = Environment()
|
||||
|
||||
# Import the C flags set in the SConstruct file
|
||||
Import ('cflags')
|
||||
Import ('cxxflags')
|
||||
Import ('defines')
|
||||
Import ('python_include')
|
||||
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='#/lib/KX_network', source=source_files)
|
Reference in New Issue
Block a user