3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 06:03:23 +00:00

Improving visual studio support

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-23 16:26:30 -07:00
parent a564be5caf
commit 12d7c3a187
3 changed files with 39 additions and 3 deletions

View file

@ -298,7 +298,7 @@ class ExeComponent(Component):
for dep in deps:
c_dep = _Name2Component[dep]
out.write(' %s/%s$(LIB_EXT)' % (c_dep.build_dir, c_dep.name))
out.write('\n')
out.write(' $(LINK_EXTRA_FLAGS)\n')
out.write('%s: %s\n\n' % (self.name, exefile))
# All executables are included in the all: rule
@ -326,8 +326,14 @@ def add_exe(name, deps=[], path=None, exe_name=None):
# Copy configuration correct file to BUILD_DIR
def cp_config_mk():
if IS_WINDOW:
# TODO
return
if VS_X64:
# TODO
return
else:
if DEBUG_MODE:
shutil.copyfile('scripts/config-vs-debug.mk', '%s/config.mk' % BUILD_DIR)
else:
shutil.copyfile('scripts/config-vs-release.mk', '%s/config.mk' % BUILD_DIR)
else:
if DEBUG_MODE:
shutil.copyfile('scripts/config-debug.mk', '%s/config.mk' % BUILD_DIR)