From 58400043b499112c1de7f3bf49ac8902e5ca2dcc Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 12 Mar 2024 10:53:22 -0700 Subject: [PATCH] add debug-dll --- contrib/other-builds/moses2/moses2.sln | 9 ++++ contrib/other-builds/moses2/moses2.vcxproj | 51 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/contrib/other-builds/moses2/moses2.sln b/contrib/other-builds/moses2/moses2.sln index 51d1d73d4..c5b2b0892 100755 --- a/contrib/other-builds/moses2/moses2.sln +++ b/contrib/other-builds/moses2/moses2.sln @@ -9,6 +9,8 @@ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 + Debug-DLL|Win32 = Debug-DLL|Win32 + Debug-DLL|x64 = Debug-DLL|x64 Release|Win32 = Release|Win32 Release|x64 = Release|x64 Release-DLL|Win32 = Release-DLL|Win32 @@ -19,6 +21,10 @@ Global {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug|Win32.Build.0 = Debug|Win32 {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug|x64.ActiveCfg = Debug|x64 {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug|x64.Build.0 = Debug|x64 + {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug-DLL|Win32.ActiveCfg = Debug-DLL|x64 + {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug-DLL|Win32.Build.0 = Debug-DLL|x64 + {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug-DLL|x64.ActiveCfg = Debug-DLL|x64 + {B4304E97-D37F-4022-BD03-841A4FAEE398}.Debug-DLL|x64.Build.0 = Debug-DLL|x64 {B4304E97-D37F-4022-BD03-841A4FAEE398}.Release|Win32.ActiveCfg = Release|Win32 {B4304E97-D37F-4022-BD03-841A4FAEE398}.Release|Win32.Build.0 = Release|Win32 {B4304E97-D37F-4022-BD03-841A4FAEE398}.Release|x64.ActiveCfg = Release|x64 @@ -31,4 +37,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8B10AABC-E114-4EB7-BE1E-9432E208DDEA} + EndGlobalSection EndGlobal diff --git a/contrib/other-builds/moses2/moses2.vcxproj b/contrib/other-builds/moses2/moses2.vcxproj index 30efb5989..d567709dc 100755 --- a/contrib/other-builds/moses2/moses2.vcxproj +++ b/contrib/other-builds/moses2/moses2.vcxproj @@ -1,6 +1,10 @@  + + Debug-DLL + x64 + Debug x64 @@ -31,6 +35,13 @@ false false + + DynamicLibrary + true + Unicode + false + false + Application false @@ -47,9 +58,15 @@ + + + + + + @@ -67,6 +84,10 @@ true $(ProjectName)decoder + + true + $(ProjectName)decoder + false $(ProjectName)decoder @@ -105,6 +126,36 @@ false + + + + + Level3 + Disabled + NO_COMPACT_TABLES;HAVE_CMPHXXX;MAX_NUM_FACTORS=4;KENLM_MAX_ORDER=6;_USE_MATH_DEFINES;NOMINMAX;WITH_THREADS;NO_PIPES;_WIN32;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + $(ZlibDir);$(BoostDir);$(MSBuildProjectDirectory)/../../..;C:\Program Files (x86)\Visual Leak Detector\include;C:\depot\translator\private\mt\mman;%(AdditionalIncludeDirectories) + MultiThreadedDebugDLL + $(IntDir)\%(RelativeDir)\%(Filename).obj + false + false + Default + + + ProgramDatabase + false + + + true + + + Console + true + $(BoostDir)\lib64-msvc-14.0;$(ZlibDir)\dll\bin\x64\Debug;C:\Program Files (x86)\Visual Leak Detector\lib\Win64 + %(AdditionalDependencies) + LinkVerbose + false + + Level3