mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Windows build scripts - ECHO_ON env variable for debugging
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
||||
:: Usage example for doing an optimized vs2015-x64 build with debug information and using IFC 4:
|
||||
:: > build-all.cmd vs2015-x64 RelWithDebInfo -DUSE_IFC4=1 -DENABLE_BUILD_OPTIMIZATIONS=1
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
:: Example usage (all arguments are optional):
|
||||
:: build-deps.cmd vs2022-x64 RelWithDebInfo Build
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
echo.
|
||||
|
||||
for %%Q in ("%~dp0\.") DO set "batpath=%%~fQ"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
:: a deduced generator will be used for %1 and BUILD_CFG_DEFAULT for %2 (both set in vs-cfg.cmd)
|
||||
:: Possible extra parameters are passed for the MSBuild call.
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
set PROJECT_NAME=IfcOpenShell
|
||||
echo.
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
:: This script initializes various CMake build configuration type related variables.
|
||||
:: This batch file expects CMake build configuration type as %1.
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
|
||||
:: Set up variables depending on the used build configuration type.
|
||||
set BUILD_CFG=%1
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
:: a deduced generator will be used for %1 and BUILD_CFG_DEFAULT for %2 (both set in vs-cfg.cmd)
|
||||
:: Possible extra parameters are passed for the MSBuild call.
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
set PROJECT_NAME=IfcOpenShell
|
||||
echo.
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
:: ::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
echo.
|
||||
|
||||
set PROJECT_NAME=IfcOpenShell
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
:: Pass x86 or x64 as %1, if not specified x64 assumed.
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
set TARGET_ARCH=%1
|
||||
if "%TARGET_ARCH%"=="" set TARGET_ARCH=x64
|
||||
if not exist "%~dp0BuildDepsCache-%TARGET_ARCH%.txt". (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
:: Don't check for `ECHO_ON` or it will get too verbose without any benefit.
|
||||
@echo off
|
||||
setlocal ENABLEDELAYEDEXPANSION
|
||||
|
||||
@@ -38,5 +39,6 @@ if defined BGC (
|
||||
|
||||
echo|set /p="!STYLE!!TEXT!!ESC![0m"
|
||||
echo.
|
||||
if defined ECHO_ON ( echo on )
|
||||
endlocal
|
||||
exit /b 0
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
::
|
||||
:: NOTE: The delayed environment variable expansion needs to be enabled before calling this.
|
||||
|
||||
@echo off
|
||||
@if not defined ECHO_ON ( echo off )
|
||||
|
||||
set GENERATOR=%1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user