There is a special code in postprocess/signing/signing.pl (run from postprocess/CustomTarget_signing.mk) that handles signing of windows binaries (exe and dll files) in release configuration build. I think it makes sense to do that directly after linking.
To achieve this, it will be necessary to adapt gb_LinkTarget_command in solenv/gbuild/platform/com_MSC_class.mk to run signtool.exe, if needed. I think the best way will be to add a new target variable on LinkTarget, defined in gb_Library_Library_platform and gb_Executable_Executable_platform, which will be set depending on $(WINDOWS_BUILD_SIGNING) and $(ENABLE_DBGUTIL) variables. After that, the custom stuff in postprocess can be dropped.
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility.
see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
This one has been fixed already.
(signing the msi during the build was an extra step, but http://cgit.freedesktop.org/libreoffice/core/commit/?id=125769a4a15cf6f4b9ef9d0e757ac55bd9e26509 made that part of the build)
Now for signing the dlls right after they are created: I don't think this is a good idea, in fact IMHO it is a rather bad idea.
Creating processes in windows is slow as fu^Whell, so anything that can be grouped into one invocation, should be grouped into one invocation.
The build is already slowed down so much by all those "I built a file, so I need to touch a marker-file" stuff and copying every bit individually instead of copying whole directory trees...
Fixed by cloph in https://gerrit.libreoffice.org/9176, so windows signing depends on slowcheck.
(In reply to comment #3)
> Fixed by cloph in https://gerrit.libreoffice.org/9176, so windows signing
> depends on slowcheck.
That was not the goal of this Easy Hack--that that problem would be fixed as well (and I mean really fixed, not just postponed) was just a side effect.
Since we agreed not to do this -> WONTFIX.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner TopicCleanup)
Remove LibreOffice Dev List from CC on EasyHacks
(curtailing excessive email to list)