|
|
|
@ -89,14 +89,14 @@ class build_manager:
|
|
|
|
|
os.environ['CXX'] = mgr.cxx if mgr.cxx else 'c++'
|
|
|
|
|
|
|
|
|
|
def libaquery_a(self):
|
|
|
|
|
self.build_cmd = [['rm', 'libaquery.lib'],['make', 'libaquery.a']]
|
|
|
|
|
self.build_cmd = [['rm', 'libaquery.a'],['make', 'libaquery.a']]
|
|
|
|
|
return self.build()
|
|
|
|
|
def pch(self):
|
|
|
|
|
self.build_cmd = [['rm', 'server/pch.hpp.gch'], ['make', 'pch']]
|
|
|
|
|
return self.build()
|
|
|
|
|
def server(self):
|
|
|
|
|
if self.mgr.StaticLib:
|
|
|
|
|
self.build_cmd = [['rm', 'server.so'], ['make', 'server_uselib']]
|
|
|
|
|
self.build_cmd = [['rm', '*.o'],['rm', 'server.so'], ['make', 'server_uselib']]
|
|
|
|
|
else:
|
|
|
|
|
self.build_cmd = [['rm', 'server.so'], ['make', 'server.so']]
|
|
|
|
|
return self.build()
|
|
|
|
|