forked from GitHub/gf-rgl
Batch build script handles multiple paths in GF_LIB_PATH (picks first)
This commit is contained in:
10
Make.bat
10
Make.bat
@@ -29,11 +29,15 @@ goto Loop
|
||||
|
||||
REM Try to determine install location
|
||||
if "%dest%"=="" (
|
||||
REM TODO Separate paths with search path separator ; and pick first one
|
||||
set dest=%GF_LIB_PATH%
|
||||
REM Separate paths with search path separator ; and pick first one
|
||||
for %%p in ("%GF_LIB_PATH:;=";"%") do (
|
||||
set dest=%%~p
|
||||
goto BreakLibPath
|
||||
)
|
||||
)
|
||||
:BreakLibPath
|
||||
if "%dest%"=="" (
|
||||
REM TODO Look in ../gf-core/DATA=DIR
|
||||
REM TODO Look in ../gf-core/DATA_DIR
|
||||
)
|
||||
if "%dest%"=="" (
|
||||
echo Unable to determine where to install the RGL. Please do one of the following:
|
||||
|
||||
Reference in New Issue
Block a user