From 8949887286d94174a294b1d05e1410901fc7fbc7 Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 14 Dec 2009 09:26:21 +0000 Subject: [PATCH] Windows packaging: strip 32-bit DLL when creating the package git-svn-id: https://www.dynare.org/svn/dynare/trunk@3235 ac1d8469-bf42-47a9-8791-bf33cf982152 --- windows/dynare.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/dynare.nsi b/windows/dynare.nsi index 2516d69a7..7b9a64075 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -39,9 +39,12 @@ InstallDir "c:\dynare\${VERSION}" !define REGLOC "Software\Microsoft\Windows\CurrentVersion\Uninstall\Dynare ${VERSION}" !define SMLOC "$SMPROGRAMS\Dynare ${VERSION}" -# Strip preprocessor and dynare++ binaries +# Strip preprocessor, dynare++ and 32-bit DLL binaries +# (64-bit DLL are compiled with MSVC and therefore are small) !system 'strip ..\matlab\dynare_m.exe' !system 'strip ..\dynare++\src\dynare++.exe' +!system 'strip ..\mex\matlab\win32-6.5-7.4\*' +!system 'strip ..\mex\matlab\win32-7.5-7.9\*' !macro DETERMINE_CONTEXT # Determine if we are admin or not