mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
build-all.py - print BUILD_DIR
This commit is contained in:
+3
-2
@@ -273,7 +273,7 @@ SCRIPT_PATH = Path(__file__).parent
|
|||||||
REPO_PATH = SCRIPT_PATH.parent
|
REPO_PATH = SCRIPT_PATH.parent
|
||||||
CMAKE_DIR = (REPO_PATH / "cmake").resolve().__str__()
|
CMAKE_DIR = (REPO_PATH / "cmake").resolve().__str__()
|
||||||
|
|
||||||
build_dir = os.environ.get("BUILD_DIR", (REPO_PATH / "build").__str__())
|
BUILD_DIR = os.environ.get("BUILD_DIR", (REPO_PATH / "build").__str__())
|
||||||
|
|
||||||
|
|
||||||
if WASM:
|
if WASM:
|
||||||
@@ -282,7 +282,7 @@ elif MAC_CROSS_COMPILE_INTEL:
|
|||||||
arch = "x86_64"
|
arch = "x86_64"
|
||||||
else:
|
else:
|
||||||
arch = platform.machine()
|
arch = platform.machine()
|
||||||
DEFAULT_DEPS_DIR = Path(build_dir) / platform.system() / arch
|
DEFAULT_DEPS_DIR = Path(BUILD_DIR) / platform.system() / arch
|
||||||
|
|
||||||
if TOOLSET:
|
if TOOLSET:
|
||||||
DEFAULT_DEPS_DIR = DEFAULT_DEPS_DIR / TOOLSET
|
DEFAULT_DEPS_DIR = DEFAULT_DEPS_DIR / TOOLSET
|
||||||
@@ -314,6 +314,7 @@ if USE_OCCT:
|
|||||||
cecho(" - Compiling against official Open Cascade")
|
cecho(" - Compiling against official Open Cascade")
|
||||||
else:
|
else:
|
||||||
cecho(" - Compiling against Open Cascade Community Edition")
|
cecho(" - Compiling against Open Cascade Community Edition")
|
||||||
|
cecho(f"* Build Directory = {BUILD_DIR}", MAGENTA)
|
||||||
cecho(f"* Dependency Directory = {DEPS_DIR}", MAGENTA)
|
cecho(f"* Dependency Directory = {DEPS_DIR}", MAGENTA)
|
||||||
cecho(f" - The directory where {PROJECT_NAME} dependencies are installed.")
|
cecho(f" - The directory where {PROJECT_NAME} dependencies are installed.")
|
||||||
cecho(f"* Build Config Type = {BUILD_CFG}", MAGENTA)
|
cecho(f"* Build Config Type = {BUILD_CFG}", MAGENTA)
|
||||||
|
|||||||
Reference in New Issue
Block a user