From 1960ff85de460dfb175433b1618eb48fcff44cf7 Mon Sep 17 00:00:00 2001 From: gforney Date: Mon, 4 Nov 2024 09:57:35 -0500 Subject: [PATCH] scripts: remove .obj and .mod files from windows fds build directories if windows hypre or sundials libraries are built --- Build/Scripts/HYPRE/build_hypre.bat | 11 +++++++++++ Build/Scripts/SUNDIALS/build_sundials.bat | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/Build/Scripts/HYPRE/build_hypre.bat b/Build/Scripts/HYPRE/build_hypre.bat index 7034c3e05db..9261502d22a 100644 --- a/Build/Scripts/HYPRE/build_hypre.bat +++ b/Build/Scripts/HYPRE/build_hypre.bat @@ -155,6 +155,17 @@ set HYPRE_HOME=%INSTALLDIR% echo The Hypre library version %LIB_TAG% was built and installed in %INSTALLDIR% echo. +echo ---------------------------------------------------------- +echo ---------------------------------------------------------- +echo removing .obj and .mod files from Windows fds build directories +echo ---------------------------------------------------------- +echo ---------------------------------------------------------- +echo. +for /D %%f in (%FIREMODELS%\fds\Build\*win*) do ( + cd %%f + erase *.obj *.mod > Nul 2> Nul +) + cd %CURDIR% goto eof diff --git a/Build/Scripts/SUNDIALS/build_sundials.bat b/Build/Scripts/SUNDIALS/build_sundials.bat index bdf5ae9247d..65380cc1ff8 100644 --- a/Build/Scripts/SUNDIALS/build_sundials.bat +++ b/Build/Scripts/SUNDIALS/build_sundials.bat @@ -156,6 +156,17 @@ echo. echo The Sundials library version %LIB_TAG% was built and installed in %INSTALLDIR% echo. +echo ---------------------------------------------------------- +echo ---------------------------------------------------------- +echo removing .obj and .mod files from Windows fds build directories +echo ---------------------------------------------------------- +echo ---------------------------------------------------------- +echo. +for /D %%f in (%FIREMODELS%\fds\Build\*win*) do ( + cd %%f + erase *.obj *.mod > Nul 2> Nul +) + cd %CURDIR% goto eof