代码拉取完成,页面将自动刷新
FAS_CFLAGS = [
'-Wall',
'-static',
'-std=c++11'
]
StaticLibrary('./lib/fasutils',
Glob("utils/*.cpp"),
CPPPATH=['.', 'utils'],
CCFLAGS = FAS_CFLAGS
)
StaticLibrary('./lib/fas',
Glob("base/*.cpp"),
LIBPATH = ['lib'],
CPPPATH = ['.', 'utils', 'base'],
LIBS = ['fasutils', 'glog', 'jsoncpp', 'pthread'],
CCFLAGS = FAS_CFLAGS
)
StaticLibrary('./lib/fashttp',
Glob("http/*.cpp"),
LIBPATH = ['lib'],
CPPPATH = ['.', 'utils', 'base', 'http'],
LIBS = ['fasutils', 'fas', 'glog', 'jsoncpp', 'pthread'],
CCFLAGS = FAS_CFLAGS
)
StaticLibrary('./lib/fasmdm',
Glob("mdm/*.cpp"),
LIBPATH = ['lib'],
CPPPATH = ['.', 'utils', 'base', 'mdm'],
LIBS = ['fasutils', 'fas', 'glog', 'jsoncpp', 'pthread'],
CCFLAGS = FAS_CFLAGS
)
Program('bin/TcpServer', 'test/TcpServerTest.cpp',
LIBPATH = ['lib'],
CPPPATH = ['.', 'utils', 'base'],
LIBS = ['fasutils', 'fas', 'glog', 'jsoncpp', 'pthread'],
CCFLAGS = ['-Wall', '-static', '-std=c++11']
)
Program('bin/MultiProcessTcpServer', 'test/MultiProcessServer.cpp',
LIBPATH = ['lib'],
CPPPATH = ['.', 'utils', 'base'],
LIBS = ['fasutils', 'fas', 'glog', 'jsoncpp', 'pthread'],
CCFLAGS = ['-Wall', '-static', '-std=c++11']
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。