diff options
Diffstat (limited to 'source/gameengine/Network')
-rwxr-xr-x | source/gameengine/Network/LoopBackNetwork/SConscript | 15 | ||||
-rwxr-xr-x | source/gameengine/Network/SConscript | 17 |
2 files changed, 8 insertions, 24 deletions
diff --git a/source/gameengine/Network/LoopBackNetwork/SConscript b/source/gameengine/Network/LoopBackNetwork/SConscript index 333dff4d987..292abc8e7a9 100755 --- a/source/gameengine/Network/LoopBackNetwork/SConscript +++ b/source/gameengine/Network/LoopBackNetwork/SConscript @@ -1,15 +1,8 @@ #!/usr/bin/python -Import ('user_options_dict') -Import ('library_env') +Import ('env') -ng_loopbacknetwork_env = library_env.Copy () +sources = 'NG_LoopBackNetworkDeviceInterface.cpp' -source_files = ['NG_LoopBackNetworkDeviceInterface.cpp'] +incs = '. #source/kernel/gen_system #intern/string #source/gameengine/Network' -ng_loopbacknetwork_env.Append (CPPPATH=['.', - '#source/kernel/gen_system', - '#intern/string', - '#source/gameengine/Network', - ]) - -ng_loopbacknetwork_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/NG_loopbacknetwork', source=source_files) +env.BlenderLib ( 'NG_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype='game2', priority=25 ) diff --git a/source/gameengine/Network/SConscript b/source/gameengine/Network/SConscript index 489bea7a970..998e6f36af3 100755 --- a/source/gameengine/Network/SConscript +++ b/source/gameengine/Network/SConscript @@ -1,17 +1,8 @@ #!/usr/bin/python -Import ('user_options_dict') -Import ('library_env') +Import ('env') -ng_network_env = library_env.Copy () +sources = env.Glob('*.cpp') #'NG_NetworkMessage.cpp NG_NetworkObject.cpp NG_NetworkScene.cpp' -source_files = ['NG_NetworkMessage.cpp', - 'NG_NetworkObject.cpp', - 'NG_NetworkScene.cpp'] +incs = '. #source/kernel/gen_system #intern/string #intern/moto/include' -ng_network_env.Append (CPPPATH=['.', - '#source/kernel/gen_system', - '#intern/string', - '#intern/moto/include' - ]) - -ng_network_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/NG_network', source=source_files) +env.BlenderLib ( 'NG_network', sources, Split(incs), [], libtype='game2', priority=15 ) |