mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
run-cmake: drop OCC_INCLUDE_DIR / OCC_LIBRARY_DIR (ce7fdcc)
They were not set by `build-deps.cmd` since ce7fdcc
This commit is contained in:
+5
-14
@@ -56,21 +56,15 @@ if (%1)==() (
|
|||||||
call vs-cfg.cmd %GENERATOR%
|
call vs-cfg.cmd %GENERATOR%
|
||||||
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
||||||
|
|
||||||
:: If cached variables are still undefined,
|
:: Read the rest of the cached variables from the specific BuildDepsCache-XXX.txt.
|
||||||
:: read them from the specific BuildDepsCache-XXX.txt.
|
IF DEFINED VS_TOOLSET (
|
||||||
set "_test=0"
|
|
||||||
if not defined OCC_INCLUDE_DIR set _test=1
|
|
||||||
if not defined OCC_LIBRARY_DIR set _test=1
|
|
||||||
if %_test% EQU 1 (
|
|
||||||
IF DEFINED VS_TOOLSET (
|
|
||||||
set "BUILD_DEPS_CACHE_PATH=BuildDepsCache-%VS_PLATFORM%-%VS_TOOLSET%.txt"
|
set "BUILD_DEPS_CACHE_PATH=BuildDepsCache-%VS_PLATFORM%-%VS_TOOLSET%.txt"
|
||||||
) ELSE (
|
) ELSE (
|
||||||
set "BUILD_DEPS_CACHE_PATH=BuildDepsCache-%VS_PLATFORM%.txt"
|
set "BUILD_DEPS_CACHE_PATH=BuildDepsCache-%VS_PLATFORM%.txt"
|
||||||
)
|
)
|
||||||
|
|
||||||
for /f "tokens=*" %%f in ('dir !BUILD_DEPS_CACHE_PATH! /o:-n /t:a /b') do (
|
for /f "tokens=*" %%f in ('dir !BUILD_DEPS_CACHE_PATH! /o:-n /t:a /b') do (
|
||||||
for /f "delims== tokens=1,2" %%G in (%%f) do set %%G=%%H
|
for /f "delims== tokens=1,2" %%G in (%%f) do set %%G=%%H
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
:: As CMake options are typically of format -DSOMETHING:BOOL=ON or -DSOMETHING=1, i.e. they contain an equal sign,
|
:: As CMake options are typically of format -DSOMETHING:BOOL=ON or -DSOMETHING=1, i.e. they contain an equal sign,
|
||||||
@@ -135,9 +129,6 @@ echo Arguments = %ARGUMENTS%
|
|||||||
echo.
|
echo.
|
||||||
call cecho.cmd 0 10 "Dependency Environment Variables for %PROJECT_NAME%:"
|
call cecho.cmd 0 10 "Dependency Environment Variables for %PROJECT_NAME%:"
|
||||||
echo BOOST_INSTALL_DIR = %BOOST_INSTALL_DIR%
|
echo BOOST_INSTALL_DIR = %BOOST_INSTALL_DIR%
|
||||||
:: OCC_INCLUDE_DIR / OCC_LIBRARY_DIR are legacy vars, they're not defined by build-deps.py anymore.
|
|
||||||
echo OCC_INCLUDE_DIR = %OCC_INCLUDE_DIR%
|
|
||||||
echo OCC_LIBRARY_DIR = %OCC_LIBRARY_DIR%
|
|
||||||
echo OCC_INSTALL_DIR = %OCC_INSTALL_DIR%
|
echo OCC_INSTALL_DIR = %OCC_INSTALL_DIR%
|
||||||
echo OPENCOLLADA_INSTALL_DIR = %OPENCOLLADA_INSTALL_DIR%
|
echo OPENCOLLADA_INSTALL_DIR = %OPENCOLLADA_INSTALL_DIR%
|
||||||
echo LIBXML2_INCLUDE_DIR = %LIBXML2_INCLUDE_DIR%
|
echo LIBXML2_INCLUDE_DIR = %LIBXML2_INCLUDE_DIR%
|
||||||
|
|||||||
Reference in New Issue
Block a user