sconscript

来自「robocup rcssbase-11.1.0(1).zip」· 代码 · 共 39 行

TXT
39
字号
# -*-python-*-import osImport('env')if env['PLATFORM'] == 'win32':	NET_LIBS=['ws2_32', 'rcsserror']else:	NET_LIBS=['rcsserror']	env.Append( LIBPATH = '../error/' )rcssnet = env.SharedLibrary('rcssnet', ['addr.cpp',					'socket.cpp', 					'udpsocket.cpp', 					'tcpsocket.cpp', 					'handler.cpp'],			    LIBS=NET_LIBS )Default(rcssnet)install = Install( env[ 'libdir' ], rcssnet )Alias('install', install)install = Install( os.path.join( env[ 'pkgincludedir' ], 'net' ),		       ['addr.hpp',			'socket.hpp',			'udpsocket.hpp',			'tcpsocket.hpp',			'socketstreambuf.hpp',			'isocketstream.hpp',			'osocketstream.hpp',			'iosocketstream.hpp',			'handler.hpp'])Alias('install', install)SConscript(['addrtest/SConscript', 	    'udpsockettest/SConscript',	    'tcpsockettest/SConscript',	    'iosocketstreamtest/SConscript'])

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?