From 2b6d90564fa3cf379cfd57dfbfdf4cf750e994b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Jul 2018 17:51:37 +0300 Subject: exe loader extracted to the separate module, now it's possible to compile all exe using shared runtime modules --- plugins/MimCmd/MimCmd.vcxproj | 9 ++------- plugins/MimCmd/src/MimCmd.cpp | 3 +-- plugins/PluginUpdater/pu_stub/pu_stub_15.vcxproj | 12 ++++++++---- 3 files changed, 11 insertions(+), 13 deletions(-) (limited to 'plugins') diff --git a/plugins/MimCmd/MimCmd.vcxproj b/plugins/MimCmd/MimCmd.vcxproj index a6f3088b44..9ba7bd360c 100644 --- a/plugins/MimCmd/MimCmd.vcxproj +++ b/plugins/MimCmd/MimCmd.vcxproj @@ -31,14 +31,9 @@ Console - mir_core.mir + mir_core.mir;ucrtbased.dll;vcruntime140.dll + mir_core.mir;ucrtbase.dll;api-ms-win-crt-string-l1-1-0.dll;api-ms-win-crt-heap-l1-1-0.dll;api-ms-win-crt-locale-l1-1-0.dll;api-ms-win-crt-math-l1-1-0.dll;api-ms-win-crt-runtime-l1-1-0.dll;api-ms-win-crt-stdio-l1-1-0.dll;VCRUNTIME140.dll - - MultiThreadedDebug - - - MultiThreaded - Sync diff --git a/plugins/MimCmd/src/MimCmd.cpp b/plugins/MimCmd/src/MimCmd.cpp index 384c79b8d1..91271d17ae 100644 --- a/plugins/MimCmd/src/MimCmd.cpp +++ b/plugins/MimCmd/src/MimCmd.cpp @@ -19,8 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "stdafx.h" - -#pragma comment(lib, "delayimp.lib") +#include "..\..\build\appstub\appstub.cpp" wchar_t* GetProgramName(wchar_t *programName, size_t size) { diff --git a/plugins/PluginUpdater/pu_stub/pu_stub_15.vcxproj b/plugins/PluginUpdater/pu_stub/pu_stub_15.vcxproj index 5f87eff746..4a8b9283dc 100644 --- a/plugins/PluginUpdater/pu_stub/pu_stub_15.vcxproj +++ b/plugins/PluginUpdater/pu_stub/pu_stub_15.vcxproj @@ -90,12 +90,13 @@ Level4 Disabled _DEBUG;_WINDOWS;%(PreprocessorDefinitions) - MultiThreadedDebug + MultiThreadedDebugDLL Windows true false + ucrtbased.dll;vcruntime140.dll @@ -103,11 +104,12 @@ Level4 Disabled _DEBUG;_WINDOWS;%(PreprocessorDefinitions) - MultiThreadedDebug + MultiThreadedDebugDLL Windows true + ucrtbased.dll;vcruntime140.dll @@ -118,13 +120,14 @@ true true NDEBUG;_WINDOWS;%(PreprocessorDefinitions) - MultiThreaded + MultiThreadedDLL Windows true true true + ucrtbase.dll;api-ms-win-crt-heap-l1-1-0.dll;api-ms-win-crt-locale-l1-1-0.dll;api-ms-win-crt-math-l1-1-0.dll;api-ms-win-crt-runtime-l1-1-0.dll;api-ms-win-crt-stdio-l1-1-0.dll;vcruntime140.DLL @@ -134,13 +137,14 @@ true NDEBUG;_WINDOWS;%(PreprocessorDefinitions) Size - MultiThreaded + MultiThreadedDLL Windows true true true + ucrtbase.dll;api-ms-win-crt-heap-l1-1-0.dll;api-ms-win-crt-locale-l1-1-0.dll;api-ms-win-crt-math-l1-1-0.dll;api-ms-win-crt-runtime-l1-1-0.dll;api-ms-win-crt-stdio-l1-1-0.dll;vcruntime140.DLL -- cgit v1.2.3