diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-11-06 18:01:30 +0300 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-11-06 18:01:30 +0300 |
commit | 2789059b80835b512451828ecea22e6b622f71c3 (patch) | |
tree | 46cb69e04a42bf5c06da64c0cdf53ceb1d11b702 /moses-cmd | |
parent | abefc351c55a23be9131d79fe11cba1b27f96ea9 (diff) |
added internal, x-platform LM which exactly mimics SRILM
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@953 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/moses-cmd.vcproj | 12 | ||||
-rw-r--r-- | moses-cmd/src/Main.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/moses-cmd/moses-cmd.vcproj b/moses-cmd/moses-cmd.vcproj index 60afd8858..8aa5df2fd 100644 --- a/moses-cmd/moses-cmd.vcproj +++ b/moses-cmd/moses-cmd.vcproj @@ -40,8 +40,8 @@ <Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories=""$(SolutionDir)\src";"$(SolutionDir)..\mysqlpp\lib";"$(SolutionDir)..\irstlm\src""
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;LM_IRST;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE"
+ AdditionalIncludeDirectories=""$(SolutionDir)\src";"$(SolutionDir)..\mysqlpp\lib";"$(SolutionDir)..\irstlm\src";"$(SolutionDir)..\srilm\src""
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;LM_IRST;LM_INTERNAL;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -61,7 +61,7 @@ />
<Tool
Name="VCLinkerTool"
- AdditionalDependencies=""$(SolutionDir)\$(ConfigurationName)\moses.lib" "$(SolutionDir)\$(ConfigurationName)\irstlm.lib" zdll.lib "$(SolutionDir)..\srilm\lib\cygwin\libdstruct.a" "$(SolutionDir)..\srilm\lib\cygwin\libflm.a" "$(SolutionDir)..\srilm\lib\cygwin\liblattice.a" "$(SolutionDir)..\srilm\lib\cygwin\liboolm.a" "$(SolutionDir)..\srilm\lib\cygwin\libmisc.a""
+ AdditionalDependencies=""$(SolutionDir)\$(ConfigurationName)\moses.lib" "$(SolutionDir)\$(ConfigurationName)\irstlm.lib" zdll.lib "$(SolutionDir)\$(ConfigurationName)\srilm.lib""
OutputFile="$(ProjectDir)$(ConfigurationName)\$(ProjectName).exe"
LinkIncremental="2"
GenerateDebugInformation="true"
@@ -118,8 +118,8 @@ />
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""$(SolutionDir)\src";"$(SolutionDir)..\mysqlpp\lib";"$(SolutionDir)..\irstlm\src""
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;LM_IRST;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE"
+ AdditionalIncludeDirectories=""$(SolutionDir)\src";"$(SolutionDir)..\mysqlpp\lib";"$(SolutionDir)..\irstlm\src";"$(SolutionDir)..\srilm\src""
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;LM_IRST;LM_INTERNAL;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
@@ -137,7 +137,7 @@ />
<Tool
Name="VCLinkerTool"
- AdditionalDependencies=""$(SolutionDir)\$(ConfigurationName)\moses.lib" "$(SolutionDir)\$(ConfigurationName)\irstlm.lib" zdll.lib "$(SolutionDir)..\srilm\lib\cygwin\libdstruct.a" "$(SolutionDir)..\srilm\lib\cygwin\libflm.a" "$(SolutionDir)..\srilm\lib\cygwin\liblattice.a" "$(SolutionDir)..\srilm\lib\cygwin\liboolm.a" "$(SolutionDir)..\srilm\lib\cygwin\libmisc.a""
+ AdditionalDependencies=""$(SolutionDir)\$(ConfigurationName)\moses.lib" "$(SolutionDir)\$(ConfigurationName)\irstlm.lib" zdll.lib "$(SolutionDir)\$(ConfigurationName)\srilm.lib""
OutputFile="$(ProjectDir)$(ConfigurationName)\$(ProjectName).exe"
LinkIncremental="1"
GenerateDebugInformation="true"
diff --git a/moses-cmd/src/Main.cpp b/moses-cmd/src/Main.cpp index 74f263adb..f3eee30af 100644 --- a/moses-cmd/src/Main.cpp +++ b/moses-cmd/src/Main.cpp @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifdef WIN32 // Include Visual Leak Detector -//#include <vld.h> +#include <vld.h> #endif #include <fstream> |