mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
added add_extra_exe command to build framework
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7cea9cdefe
commit
ccdb253b47
|
@ -503,6 +503,13 @@ class ExeComponent(Component):
|
|||
'%s/bin/%s.exe' % (dist_path, self.exe_name))
|
||||
|
||||
|
||||
class ExtraExeComponent(ExeComponent):
|
||||
def __init__(self, name, exe_name, path, deps, install):
|
||||
ExeComponent.__init__(self, name, exe_name, path, deps, install)
|
||||
|
||||
def main_component(self):
|
||||
return False
|
||||
|
||||
class DLLComponent(Component):
|
||||
def __init__(self, name, dll_name, path, deps, export_files, reexports, install):
|
||||
Component.__init__(self, name, path, deps)
|
||||
|
@ -752,6 +759,10 @@ def add_exe(name, deps=[], path=None, exe_name=None, install=True):
|
|||
c = ExeComponent(name, exe_name, path, deps, install)
|
||||
reg_component(name, c)
|
||||
|
||||
def add_extra_exe(name, deps=[], path=None, exe_name=None, install=True):
|
||||
c = ExtraExeComponent(name, exe_name, path, deps, install)
|
||||
reg_component(name, c)
|
||||
|
||||
def add_dll(name, deps=[], path=None, dll_name=None, export_files=[], reexports=[], install=True):
|
||||
c = DLLComponent(name, dll_name, path, deps, export_files, reexports, install)
|
||||
reg_component(name, c)
|
||||
|
|
Loading…
Reference in a new issue