Skip to content

Commit 1960ff8

Browse files
committed
scripts: remove .obj and .mod files from windows fds build directories if windows hypre or sundials libraries are built
1 parent f92666e commit 1960ff8

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Build/Scripts/HYPRE/build_hypre.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,17 @@ set HYPRE_HOME=%INSTALLDIR%
155155
echo The Hypre library version %LIB_TAG% was built and installed in %INSTALLDIR%
156156
echo.
157157

158+
echo ----------------------------------------------------------
159+
echo ----------------------------------------------------------
160+
echo removing .obj and .mod files from Windows fds build directories
161+
echo ----------------------------------------------------------
162+
echo ----------------------------------------------------------
163+
echo.
164+
for /D %%f in (%FIREMODELS%\fds\Build\*win*) do (
165+
cd %%f
166+
erase *.obj *.mod > Nul 2> Nul
167+
)
168+
158169
cd %CURDIR%
159170

160171
goto eof

Build/Scripts/SUNDIALS/build_sundials.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,17 @@ echo.
156156
echo The Sundials library version %LIB_TAG% was built and installed in %INSTALLDIR%
157157
echo.
158158

159+
echo ----------------------------------------------------------
160+
echo ----------------------------------------------------------
161+
echo removing .obj and .mod files from Windows fds build directories
162+
echo ----------------------------------------------------------
163+
echo ----------------------------------------------------------
164+
echo.
165+
for /D %%f in (%FIREMODELS%\fds\Build\*win*) do (
166+
cd %%f
167+
erase *.obj *.mod > Nul 2> Nul
168+
)
169+
159170
cd %CURDIR%
160171

161172
goto eof

0 commit comments

Comments
 (0)