Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions Build/Scripts/build_thirdparty_libs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ call ..\Scripts\set_compilers.bat
set clean_hypre=
set clean_sundials=
set clean_fds=
set no_libs=
set stopscript=0
set FDS_BUILDDIR=%CD%

Expand Down Expand Up @@ -42,6 +43,11 @@ goto eof
set clean_sundials=--clean-sundials
set valid=1
)
if /I "%1" EQU "--no-libs" (
set no_libs=--no-libs
set clean_fds=--clean-fds
set valid=1
)
if /I "%1" EQU "-help" (
call :usage
set stopscript=1
Expand Down Expand Up @@ -74,6 +80,7 @@ echo --clean-all - rebuild all libraries, remove .obj and .mod files from t
echo --clean-fds - remove .obj and .mod files from the fds build directory
echo --clean-hypre - rebuild hypre library
echo --clean-sundials - rebuild sundials library
echo --no-libs - build without thirdparty libs
echo --help - display this message
exit /b

Expand All @@ -91,13 +98,17 @@ set SCRIPTDIR=%~dp0
cd %SCRIPTDIR%
SET SCRIPTDIR=%CD%

if "x%no_libs%" == "x" (
:: Call HYPRE and SUNDIALS build script
cd %SCRIPTDIR%\HYPRE
call build_hypre %clean_hypre%


::Call HYPRE and SUNDIALS build script
cd %SCRIPTDIR%\HYPRE
call build_hypre %clean_hypre%

cd %SCRIPTDIR%\SUNDIALS
call build_sundials %clean_sundials%
cd %SCRIPTDIR%\SUNDIALS
call build_sundials %clean_sundials%
) else (
set SUNDIALS_HOME=
set HYPRE_HOME=
echo Building FDS without third-party libraries.
)

cd %CURDIR_3RDPARTY%
Loading