Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Selten <michel@mselten.demon.nl>2004-01-20 23:28:39 +0300
committerMichel Selten <michel@mselten.demon.nl>2004-01-20 23:28:39 +0300
commit2883110a549122ffaf5502626c480c12bb2312b6 (patch)
tree4e7327b4d89621513146921c72d5afaa11f52a87 /source/gameengine/Network
parent1942e4897ebe84a09757f998773016f18289b141 (diff)
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
Diffstat (limited to 'source/gameengine/Network')
-rwxr-xr-xsource/gameengine/Network/LoopBackNetwork/SConscript19
-rwxr-xr-xsource/gameengine/Network/SConscript20
2 files changed, 39 insertions, 0 deletions
diff --git a/source/gameengine/Network/LoopBackNetwork/SConscript b/source/gameengine/Network/LoopBackNetwork/SConscript
new file mode 100755
index 00000000000..a6cd3c435fa
--- /dev/null
+++ b/source/gameengine/Network/LoopBackNetwork/SConscript
@@ -0,0 +1,19 @@
+ng_loopbacknetwork_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+ng_loopbacknetwork_env.Append (CCFLAGS = cflags)
+ng_loopbacknetwork_env.Append (CXXFLAGS = cxxflags)
+ng_loopbacknetwork_env.Append (CPPDEFINES = defines)
+
+source_files = ['NG_LoopBackNetworkDeviceInterface.cpp']
+
+ng_loopbacknetwork_env.Append (CPPPATH=['.',
+ '#source/kernel/gen_system',
+ '#intern/string',
+ '#source/gameengine/Network',
+ ])
+
+ng_loopbacknetwork_env.Library (target='#/lib/NG_loopbacknetwork', source=source_files)
diff --git a/source/gameengine/Network/SConscript b/source/gameengine/Network/SConscript
new file mode 100755
index 00000000000..443803f9ce3
--- /dev/null
+++ b/source/gameengine/Network/SConscript
@@ -0,0 +1,20 @@
+ng_network_env = Environment()
+
+# Import the C flags set in the SConstruct file
+Import ('cflags')
+Import ('cxxflags')
+Import ('defines')
+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='#/lib/NG_network', source=source_files)