mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
Reorganizing the code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
d8cd3fc3ab
commit
6bdb009c3e
74 changed files with 67 additions and 27 deletions
32
mk_util.py
32
mk_util.py
|
@ -9,6 +9,38 @@
|
|||
import os
|
||||
import glob
|
||||
|
||||
BUILD_DIR='build'
|
||||
SRC_DIR='src'
|
||||
MODES=[]
|
||||
PLATFORMS=[]
|
||||
|
||||
def set_build_dir(d):
|
||||
global BUILD_DIR
|
||||
BUILD_DIR = d
|
||||
mk_dir(BUILD_DIR)
|
||||
|
||||
def set_src_dir(d):
|
||||
global SRC_DIR
|
||||
SRC_DIR = d
|
||||
|
||||
def set_modes(l):
|
||||
global MODES
|
||||
MODES=l
|
||||
|
||||
def set_platforms(l):
|
||||
global PLATFORMS
|
||||
PLATFORMS=l
|
||||
|
||||
VS_COMMON_OPTIONS='WIN32'
|
||||
VS_DBG_OPTIONS='_DEBUG'
|
||||
VS_RELEASE_OPTIONS='NDEBUG'
|
||||
|
||||
def set_vs_options(common, dbg, release):
|
||||
global VS_COMMON_OPTIONS, VS_DBG_OPTIONS, VS_RELEASE_OPTIONS
|
||||
VS_COMMON_OPTIONS = common
|
||||
VS_DBG_OPTIONS = dbg
|
||||
VS_RELEASE_OPTIONS = release
|
||||
|
||||
def is_debug(mode):
|
||||
return mode == 'Debug'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue