mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Remove support for VS2010
It is dropped because of missing C++11 support. CMake can be used instead. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
e2e0b90666
commit
5b23f71563
@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="UserMacros">
|
||||
<GIFLIB_VERSION>416</GIFLIB_VERSION>
|
||||
<LIBJPEG_VERSION>8c</LIBJPEG_VERSION>
|
||||
<LIBLEPT_VERSION>171</LIBLEPT_VERSION>
|
||||
<LIBLEPT_VERSION_R>1,71,0,0</LIBLEPT_VERSION_R>
|
||||
<LIBLEPT_NUMBER>1.71</LIBLEPT_NUMBER>
|
||||
<LIBPNG_VERSION>143</LIBPNG_VERSION>
|
||||
<LIBTIFF_VERSION>394</LIBTIFF_VERSION>
|
||||
<ZLIB_VERSION>125</ZLIB_VERSION>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<BuildMacro Include="GIFLIB_VERSION">
|
||||
<Value>$(GIFLIB_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBJPEG_VERSION">
|
||||
<Value>$(LIBJPEG_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBLEPT_VERSION">
|
||||
<Value>$(LIBLEPT_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBLEPT_VERSION_R">
|
||||
<Value>$(LIBLEPT_VERSION_R)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBLEPT_NUMBER">
|
||||
<Value>$(LIBLEPT_NUMBER)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBPNG_VERSION">
|
||||
<Value>$(LIBPNG_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBTIFF_VERSION">
|
||||
<Value>$(LIBTIFF_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="ZLIB_VERSION">
|
||||
<Value>$(ZLIB_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="leptonica_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros">
|
||||
<LIBTESS_VERSION>400</LIBTESS_VERSION>
|
||||
<LIBTESS_VERSION_R>4,0,0,0</LIBTESS_VERSION_R>
|
||||
<LIBTESS_NUMBER>4.00</LIBTESS_NUMBER>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<BuildMacro Include="LIBTESS_VERSION">
|
||||
<Value>$(LIBTESS_VERSION)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBTESS_VERSION_R">
|
||||
<Value>$(LIBTESS_VERSION_R)</Value>
|
||||
</BuildMacro>
|
||||
<BuildMacro Include="LIBTESS_NUMBER">
|
||||
<Value>$(LIBTESS_NUMBER)</Value>
|
||||
</BuildMacro>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,101 +0,0 @@
|
||||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "windows.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""afxres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 4,0,0,0
|
||||
PRODUCTVERSION 4,0,0,0
|
||||
FILEFLAGSMASK 0x17L
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x4L
|
||||
FILETYPE 0x7L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "Tesseract OCR library"
|
||||
VALUE "FileVersion", "3, 5, 0, 0"
|
||||
VALUE "InternalName", "libtesseract"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2015 Google, Inc. Licensed under the Apache License, Version 2.0"
|
||||
VALUE "OriginalFilename", "libtesseract"
|
||||
VALUE "ProductName", "Tesseract OCR Library"
|
||||
VALUE "ProductVersion", "3, 5, 0, 0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
@ -1,868 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="DLL_Debug|Win32">
|
||||
<Configuration>DLL_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="DLL_Release|Win32">
|
||||
<Configuration>DLL_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_Debug|Win32">
|
||||
<Configuration>LIB_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_OpenCL_Debug|Win32">
|
||||
<Configuration>LIB_OpenCL_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_OpenCL_Release|Win32">
|
||||
<Configuration>LIB_OpenCL_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_Release|Win32">
|
||||
<Configuration>LIB_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>libtesseract304</ProjectName>
|
||||
<ProjectGuid>{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}</ProjectGuid>
|
||||
<RootNamespace>libtesseract</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(ProjectName)-static-debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">$(ProjectName)-opencl-static-debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(ProjectName)-static</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">$(ProjectName)-opencl-static</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(ProjectName)d</TargetName>
|
||||
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</GenerateManifest>
|
||||
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">true</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
</Lib>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
<PreBuildEvent>
|
||||
<Command>..\version.bat</Command>
|
||||
</PreBuildEvent>
|
||||
<PreBuildEvent>
|
||||
<Message>GIT_REV</Message>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>$(AMDAPPSDKROOT)\include;$(INTELOCLSDKROOT)\include;..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>USE_OPENCL;WIN32;_WINDOWS;_DEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
</Lib>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Name>
|
||||
</Name>
|
||||
</Lib>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<AdditionalIncludeDirectories>$(AMDAPPSDKROOT)\include;$(INTELOCLSDKROOT)\include;..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>USE_OPENCL;WIN32;_WINDOWS;NDEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Name>
|
||||
</Name>
|
||||
</Lib>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Full</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;_WINDLL;USE_STD_NAMESPACE;TESS_EXPORTS;LIBLEPT_IMPORTS;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION).lib;libtiff$(LIBTIFF_VERSION)-static-mtdll.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Version>$(LIBTESS_NUMBER)</Version>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;_WINDLL;USE_STD_NAMESPACE;TESS_EXPORTS;LIBLEPT_IMPORTS;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION)d.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll-debug.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Version>$(LIBTESS_NUMBER)</Version>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Message>copy library to lib directory</Message>
|
||||
<Command>if not exist ..\..\..\lib md ..\..\..\lib
|
||||
copy "$(TargetPath)" ..\..\..\lib
|
||||
copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\ccmain\adaptions.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\imagedata.cpp" />
|
||||
<ClCompile Include="..\..\classify\adaptive.cpp" />
|
||||
<ClCompile Include="..\..\classify\adaptmatch.cpp" />
|
||||
<ClCompile Include="..\..\opencl\openclwrapper.cpp" />
|
||||
<ClCompile Include="..\..\textord\alignedblob.cpp" />
|
||||
<ClCompile Include="..\..\cube\altlist.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\ambigs.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\applybox.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\associate.cpp" />
|
||||
<ClCompile Include="..\..\api\baseapi.cpp" />
|
||||
<ClCompile Include="..\..\api\pdfrenderer.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\basedir.cpp" />
|
||||
<ClCompile Include="..\..\textord\bbgrid.cpp" />
|
||||
<ClCompile Include="..\..\cube\beam_search.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\bits16.cpp" />
|
||||
<ClCompile Include="..\..\cutil\bitvec.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\bitvector.cpp" />
|
||||
<ClCompile Include="..\..\textord\blkocc.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\blobbox.cpp" />
|
||||
<ClCompile Include="..\..\classify\blobclass.cpp" />
|
||||
<ClCompile Include="..\..\textord\blobgrid.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\blobs.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\blread.cpp" />
|
||||
<ClCompile Include="..\..\cube\bmp_8.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\boxread.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\boxword.cpp" />
|
||||
<ClCompile Include="..\..\cube\cached_file.cpp" />
|
||||
<ClCompile Include="..\..\cutil\callcpp.cpp" />
|
||||
<ClCompile Include="..\..\api\capi.cpp" />
|
||||
<ClCompile Include="..\..\textord\ccnontextdetect.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\ccstruct.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\ccutil.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_altlist.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_bigrams.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_samp.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_samp_enum.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_samp_set.cpp" />
|
||||
<ClCompile Include="..\..\cube\char_set.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\chop.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\chopper.cpp" />
|
||||
<ClCompile Include="..\..\textord\cjkpitch.cpp" />
|
||||
<ClCompile Include="..\..\cube\classifier_factory.cpp" />
|
||||
<ClCompile Include="..\..\classify\classify.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\clst.cpp" />
|
||||
<ClCompile Include="..\..\classify\cluster.cpp" />
|
||||
<ClCompile Include="..\..\classify\clusttool.cpp" />
|
||||
<ClCompile Include="..\..\textord\colfind.cpp" />
|
||||
<ClCompile Include="..\..\textord\colpartition.cpp" />
|
||||
<ClCompile Include="..\..\textord\colpartitiongrid.cpp" />
|
||||
<ClCompile Include="..\..\textord\colpartitionset.cpp" />
|
||||
<ClCompile Include="..\..\cube\con_comp.cpp" />
|
||||
<ClCompile Include="..\..\dict\context.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\control.cpp" />
|
||||
<ClCompile Include="..\..\cube\conv_net_classifier.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\coutln.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\cube_control.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_line_object.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_line_segmenter.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_object.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\cube_reco_context.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_search_object.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_tuning_params.cpp" />
|
||||
<ClCompile Include="..\..\cube\cube_utils.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\cubeclassifier.cpp" />
|
||||
<ClCompile Include="..\..\cutil\cutil.cpp" />
|
||||
<ClCompile Include="..\..\cutil\cutil_class.cpp" />
|
||||
<ClCompile Include="..\..\classify\cutoffs.cpp" />
|
||||
<ClCompile Include="..\..\cutil\danerror.cpp" />
|
||||
<ClCompile Include="..\..\dict\dawg.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\detlinefit.cpp" />
|
||||
<ClCompile Include="..\..\textord\devanagari_processing.cpp" />
|
||||
<ClCompile Include="..\..\dict\dict.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\docqual.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\dppoint.cpp" />
|
||||
<ClCompile Include="..\..\textord\drawedg.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\drawfx.cpp" />
|
||||
<ClCompile Include="..\..\textord\drawtord.cpp" />
|
||||
<ClCompile Include="..\..\textord\edgblob.cpp" />
|
||||
<ClCompile Include="..\..\textord\edgloop.cpp" />
|
||||
<ClCompile Include="..\..\cutil\efio.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\elst.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\elst2.cpp" />
|
||||
<ClCompile Include="..\..\cutil\emalloc.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\equationdetect.cpp" />
|
||||
<ClCompile Include="..\..\textord\equationdetectbase.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\errcode.cpp" />
|
||||
<ClCompile Include="..\..\classify\errorcounter.cpp" />
|
||||
<ClCompile Include="..\..\classify\featdefs.cpp" />
|
||||
<ClCompile Include="..\..\cube\feature_bmp.cpp" />
|
||||
<ClCompile Include="..\..\cube\feature_chebyshev.cpp" />
|
||||
<ClCompile Include="..\..\cube\feature_hybrid.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\findseam.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\fixspace.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\fixxht.cpp" />
|
||||
<ClCompile Include="..\..\classify\float2int.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\fontinfo.cpp" />
|
||||
<ClCompile Include="..\..\textord\fpchop.cpp" />
|
||||
<ClCompile Include="..\..\classify\fpoint.cpp" />
|
||||
<ClCompile Include="..\..\cutil\freelist.cpp" />
|
||||
<ClCompile Include="..\..\textord\gap_map.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\genblob.cpp" />
|
||||
<ClCompile Include="..\port\gettimeofday.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\globaloc.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\gradechop.cpp" />
|
||||
<ClCompile Include="..\..\cube\hybrid_neural_net_classifier.cpp" />
|
||||
<ClCompile Include="..\..\dict\hyphen.cpp" />
|
||||
<ClCompile Include="..\..\textord\imagefind.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\indexmapbidi.cpp" />
|
||||
<ClCompile Include="..\..\neural_networks\runtime\input_file_buffer.cpp" />
|
||||
<ClCompile Include="..\..\classify\intfeaturedist.cpp" />
|
||||
<ClCompile Include="..\..\classify\intfeaturemap.cpp" />
|
||||
<ClCompile Include="..\..\classify\intfeaturespace.cpp" />
|
||||
<ClCompile Include="..\..\classify\intfx.cpp" />
|
||||
<ClCompile Include="..\..\classify\intmatcher.cpp" />
|
||||
<ClCompile Include="..\..\classify\intproto.cpp" />
|
||||
<ClCompile Include="..\..\classify\kdtree.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\language_model.cpp" />
|
||||
<ClCompile Include="..\..\textord\linefind.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\linlsq.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\ltrresultiterator.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\mainblk.cpp" />
|
||||
<ClCompile Include="..\..\textord\makerow.cpp" />
|
||||
<ClCompile Include="..\..\classify\mastertrainer.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\matrix.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\memry.cpp" />
|
||||
<ClCompile Include="..\..\classify\mf.cpp" />
|
||||
<ClCompile Include="..\..\classify\mfdefs.cpp" />
|
||||
<ClCompile Include="..\..\classify\mfoutline.cpp" />
|
||||
<ClCompile Include="..\..\classify\mfx.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\mod128.cpp" />
|
||||
<ClCompile Include="..\..\neural_networks\runtime\neural_net.cpp" />
|
||||
<ClCompile Include="..\..\neural_networks\runtime\neuron.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\normalis.cpp" />
|
||||
<ClCompile Include="..\..\classify\normfeat.cpp" />
|
||||
<ClCompile Include="..\..\classify\normmatch.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\ocrblock.cpp" />
|
||||
<ClCompile Include="..\..\classify\ocrfeatures.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\ocrpara.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\ocrrow.cpp" />
|
||||
<ClCompile Include="..\..\textord\oldbasel.cpp" />
|
||||
<ClCompile Include="..\..\cutil\oldlist.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\osdetect.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\otsuthr.cpp" />
|
||||
<ClCompile Include="..\..\classify\outfeat.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\outlines.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\output.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\pageiterator.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\pageres.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\pagesegmain.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\pagewalk.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\paragraphs.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\params.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\par_control.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\paramsd.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\pdblock.cpp" />
|
||||
<ClCompile Include="..\..\dict\permdawg.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\pgedit.cpp" />
|
||||
<ClCompile Include="..\..\classify\picofeat.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\pieces.cpp" />
|
||||
<ClCompile Include="..\..\textord\pithsync.cpp" />
|
||||
<ClCompile Include="..\..\textord\pitsync1.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\plotedges.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\points.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\polyaprx.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\polyblk.cpp" />
|
||||
<ClCompile Include="..\..\classify\protos.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\publictypes.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\quadlsq.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\quspline.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\ratngs.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\recogtraining.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\rect.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\rejctmap.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\reject.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\render.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\resultiterator.cpp" />
|
||||
<ClCompile Include="..\..\classify\sampleiterator.cpp" />
|
||||
<ClCompile Include="..\..\textord\scanedg.cpp" />
|
||||
<ClCompile Include="..\..\viewer\scrollview.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\seam.cpp" />
|
||||
<ClCompile Include="..\..\cube\search_column.cpp" />
|
||||
<ClCompile Include="..\..\cube\search_node.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\segsearch.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\serialis.cpp" />
|
||||
<ClCompile Include="..\..\classify\shapetable.cpp" />
|
||||
<ClCompile Include="..\..\neural_networks\runtime\sigmoid_table.cpp" />
|
||||
<ClCompile Include="..\..\textord\sortflts.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\split.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\statistc.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\stepblob.cpp" />
|
||||
<ClCompile Include="..\..\dict\stopper.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\strngs.cpp" />
|
||||
<ClCompile Include="..\..\textord\strokewidth.cpp" />
|
||||
<ClCompile Include="..\port\strtok_r.cpp" />
|
||||
<ClCompile Include="..\..\cutil\structures.cpp" />
|
||||
<ClCompile Include="..\..\viewer\svmnode.cpp" />
|
||||
<ClCompile Include="..\..\viewer\svpaint.cpp" />
|
||||
<ClCompile Include="..\..\viewer\svutil.cpp" />
|
||||
<ClCompile Include="..\..\textord\tabfind.cpp" />
|
||||
<ClCompile Include="..\..\textord\tablefind.cpp" />
|
||||
<ClCompile Include="..\..\textord\tablerecog.cpp" />
|
||||
<ClCompile Include="..\..\textord\tabvector.cpp" />
|
||||
<ClCompile Include="..\..\cube\tess_lang_mod_edge.cpp" />
|
||||
<ClCompile Include="..\..\cube\tess_lang_model.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tessbox.cpp" />
|
||||
<ClCompile Include="..\..\classify\tessclassifier.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\tessdatamanager.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tessedit.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tesseract_cube_combiner.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tesseractclass.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tessvars.cpp" />
|
||||
<ClCompile Include="..\..\textord\textlineprojection.cpp" />
|
||||
<ClCompile Include="..\..\textord\textord.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\tface.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\tfacepp.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\thresholder.cpp" />
|
||||
<ClCompile Include="..\..\textord\topitch.cpp" />
|
||||
<ClCompile Include="..\..\textord\tordmain.cpp" />
|
||||
<ClCompile Include="..\..\textord\tospace.cpp" />
|
||||
<ClCompile Include="..\..\textord\tovars.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\tprintf.cpp" />
|
||||
<ClCompile Include="..\..\classify\trainingsample.cpp" />
|
||||
<ClCompile Include="..\..\classify\trainingsampleset.cpp" />
|
||||
<ClCompile Include="..\..\dict\trie.cpp" />
|
||||
<ClCompile Include="..\..\textord\underlin.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\unichar.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\unicharmap.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\unicharset.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\unicodes.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\vecfuncs.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\werd.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\werdit.cpp" />
|
||||
<ClCompile Include="..\..\cube\word_altlist.cpp" />
|
||||
<ClCompile Include="..\..\cube\word_list_lang_model.cpp" />
|
||||
<ClCompile Include="..\..\cube\word_size_model.cpp" />
|
||||
<ClCompile Include="..\..\cube\word_unigrams.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\wordclass.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\wordrec.cpp" />
|
||||
<ClCompile Include="..\..\textord\wordseg.cpp" />
|
||||
<ClCompile Include="..\..\textord\workingpartset.cpp" />
|
||||
<ClCompile Include="..\..\api\renderer.cpp" />
|
||||
<ClCompile Include="..\..\ccmain\superscript.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\blamer.cpp" />
|
||||
<ClCompile Include="..\..\ccstruct\params_training_featdef.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\scanutils.cpp" />
|
||||
<ClCompile Include="..\..\ccutil\universalambigs.cpp" />
|
||||
<ClCompile Include="..\..\classify\shapeclassifier.cpp" />
|
||||
<ClCompile Include="..\..\dict\dawg_cache.cpp" />
|
||||
<ClCompile Include="..\..\textord\baselinedetect.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\lm_consistency.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\lm_pain_points.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\lm_state.cpp" />
|
||||
<ClCompile Include="..\..\wordrec\params_model.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\ccstruct\imagedata.h" />
|
||||
<ClInclude Include="..\..\classify\adaptive.h" />
|
||||
<ClInclude Include="..\..\opencl\oclkernels.h" />
|
||||
<ClInclude Include="..\..\opencl\openclwrapper.h" />
|
||||
<ClInclude Include="..\..\opencl\opencl_device_selection.h" />
|
||||
<ClInclude Include="..\..\textord\alignedblob.h" />
|
||||
<ClInclude Include="..\..\cube\altlist.h" />
|
||||
<ClInclude Include="..\..\ccutil\ambigs.h" />
|
||||
<ClInclude Include="..\..\api\apitypes.h" />
|
||||
<ClInclude Include="..\..\wordrec\associate.h" />
|
||||
<ClInclude Include="..\..\api\baseapi.h" />
|
||||
<ClInclude Include="..\..\ccutil\basedir.h" />
|
||||
<ClInclude Include="..\..\textord\bbgrid.h" />
|
||||
<ClInclude Include="..\..\cube\beam_search.h" />
|
||||
<ClInclude Include="..\..\ccutil\bits16.h" />
|
||||
<ClInclude Include="..\..\cutil\bitvec.h" />
|
||||
<ClInclude Include="..\..\ccutil\bitvector.h" />
|
||||
<ClInclude Include="..\..\ccstruct\blckerr.h" />
|
||||
<ClInclude Include="..\..\textord\blkocc.h" />
|
||||
<ClInclude Include="..\..\ccstruct\blobbox.h" />
|
||||
<ClInclude Include="..\..\classify\blobclass.h" />
|
||||
<ClInclude Include="..\..\textord\blobgrid.h" />
|
||||
<ClInclude Include="..\..\ccstruct\blobs.h" />
|
||||
<ClInclude Include="..\..\ccstruct\blread.h" />
|
||||
<ClInclude Include="..\..\cube\bmp_8.h" />
|
||||
<ClInclude Include="..\..\ccstruct\boxread.h" />
|
||||
<ClInclude Include="..\..\ccstruct\boxword.h" />
|
||||
<ClInclude Include="..\..\cube\cached_file.h" />
|
||||
<ClInclude Include="..\..\cutil\callcpp.h" />
|
||||
<ClInclude Include="..\..\api\capi.h" />
|
||||
<ClInclude Include="..\..\textord\ccnontextdetect.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ccstruct.h" />
|
||||
<ClInclude Include="..\..\ccutil\ccutil.h" />
|
||||
<ClInclude Include="..\..\cube\char_altlist.h" />
|
||||
<ClInclude Include="..\..\cube\char_bigrams.h" />
|
||||
<ClInclude Include="..\..\cube\char_samp.h" />
|
||||
<ClInclude Include="..\..\cube\char_samp_enum.h" />
|
||||
<ClInclude Include="..\..\cube\char_samp_set.h" />
|
||||
<ClInclude Include="..\..\cube\char_set.h" />
|
||||
<ClInclude Include="..\..\wordrec\chop.h" />
|
||||
<ClInclude Include="..\..\wordrec\chopper.h" />
|
||||
<ClInclude Include="..\..\textord\cjkpitch.h" />
|
||||
<ClInclude Include="..\..\cube\classifier_base.h" />
|
||||
<ClInclude Include="..\..\cube\classifier_factory.h" />
|
||||
<ClInclude Include="..\..\classify\classify.h" />
|
||||
<ClInclude Include="..\..\ccutil\clst.h" />
|
||||
<ClInclude Include="..\..\classify\cluster.h" />
|
||||
<ClInclude Include="..\..\classify\clusttool.h" />
|
||||
<ClInclude Include="..\..\textord\colfind.h" />
|
||||
<ClInclude Include="..\..\textord\colpartition.h" />
|
||||
<ClInclude Include="..\..\textord\colpartitiongrid.h" />
|
||||
<ClInclude Include="..\..\textord\colpartitionset.h" />
|
||||
<ClInclude Include="..\..\cube\con_comp.h" />
|
||||
<ClInclude Include="..\..\cutil\const.h" />
|
||||
<ClInclude Include="..\..\ccmain\control.h" />
|
||||
<ClInclude Include="..\..\cube\conv_net_classifier.h" />
|
||||
<ClInclude Include="..\..\ccstruct\coutln.h" />
|
||||
<ClInclude Include="..\..\ccstruct\crakedge.h" />
|
||||
<ClInclude Include="..\..\cube\cube_const.h" />
|
||||
<ClInclude Include="..\..\cube\cube_line_object.h" />
|
||||
<ClInclude Include="..\..\cube\cube_line_segmenter.h" />
|
||||
<ClInclude Include="..\..\cube\cube_object.h" />
|
||||
<ClInclude Include="..\..\ccmain\cube_reco_context.h" />
|
||||
<ClInclude Include="..\..\cube\cube_search_object.h" />
|
||||
<ClInclude Include="..\..\cube\cube_tuning_params.h" />
|
||||
<ClInclude Include="..\..\cube\cube_utils.h" />
|
||||
<ClInclude Include="..\..\ccmain\cubeclassifier.h" />
|
||||
<ClInclude Include="..\..\cutil\cutil.h" />
|
||||
<ClInclude Include="..\..\cutil\cutil_class.h" />
|
||||
<ClInclude Include="..\..\classify\cutoffs.h" />
|
||||
<ClInclude Include="..\..\cutil\danerror.h" />
|
||||
<ClInclude Include="..\..\dict\dawg.h" />
|
||||
<ClInclude Include="..\..\ccstruct\detlinefit.h" />
|
||||
<ClInclude Include="..\..\textord\devanagari_processing.h" />
|
||||
<ClInclude Include="..\..\dict\dict.h" />
|
||||
<ClInclude Include="..\..\ccmain\docqual.h" />
|
||||
<ClInclude Include="..\..\ccstruct\dppoint.h" />
|
||||
<ClInclude Include="..\..\textord\drawedg.h" />
|
||||
<ClInclude Include="..\..\wordrec\drawfx.h" />
|
||||
<ClInclude Include="..\..\textord\drawtord.h" />
|
||||
<ClInclude Include="..\..\textord\edgblob.h" />
|
||||
<ClInclude Include="..\..\textord\edgloop.h" />
|
||||
<ClInclude Include="..\..\cutil\efio.h" />
|
||||
<ClInclude Include="..\..\ccutil\elst.h" />
|
||||
<ClInclude Include="..\..\ccutil\elst2.h" />
|
||||
<ClInclude Include="..\..\cutil\emalloc.h" />
|
||||
<ClInclude Include="..\..\ccmain\equationdetect.h" />
|
||||
<ClInclude Include="..\..\textord\equationdetectbase.h" />
|
||||
<ClInclude Include="..\..\ccutil\errcode.h" />
|
||||
<ClInclude Include="..\..\classify\errorcounter.h" />
|
||||
<ClInclude Include="..\..\classify\featdefs.h" />
|
||||
<ClInclude Include="..\..\cube\feature_base.h" />
|
||||
<ClInclude Include="..\..\cube\feature_bmp.h" />
|
||||
<ClInclude Include="..\..\cube\feature_chebyshev.h" />
|
||||
<ClInclude Include="..\..\cube\feature_hybrid.h" />
|
||||
<ClInclude Include="..\..\ccutil\fileerr.h" />
|
||||
<ClInclude Include="..\..\wordrec\findseam.h" />
|
||||
<ClInclude Include="..\..\ccmain\fixspace.h" />
|
||||
<ClInclude Include="..\..\classify\float2int.h" />
|
||||
<ClInclude Include="..\..\ccstruct\fontinfo.h" />
|
||||
<ClInclude Include="..\..\textord\fpchop.h" />
|
||||
<ClInclude Include="..\..\classify\fpoint.h" />
|
||||
<ClInclude Include="..\..\cutil\freelist.h" />
|
||||
<ClInclude Include="..\..\textord\gap_map.h" />
|
||||
<ClInclude Include="..\..\ccstruct\genblob.h" />
|
||||
<ClInclude Include="..\..\ccutil\genericvector.h" />
|
||||
<ClInclude Include="..\port\gettimeofday.h" />
|
||||
<ClInclude Include="..\..\ccutil\globaloc.h" />
|
||||
<ClInclude Include="..\..\cutil\globals.h" />
|
||||
<ClInclude Include="..\..\wordrec\gradechop.h" />
|
||||
<ClInclude Include="..\..\ccutil\hashfn.h" />
|
||||
<ClInclude Include="..\..\ccutil\helpers.h" />
|
||||
<ClInclude Include="..\..\ccutil\host.h" />
|
||||
<ClInclude Include="..\..\ccstruct\hpdsizes.h" />
|
||||
<ClInclude Include="..\..\cube\hybrid_neural_net_classifier.h" />
|
||||
<ClInclude Include="..\..\textord\imagefind.h" />
|
||||
<ClInclude Include="..\..\ccutil\indexmapbidi.h" />
|
||||
<ClInclude Include="..\..\neural_networks\runtime\input_file_buffer.h" />
|
||||
<ClInclude Include="..\..\classify\intfeaturedist.h" />
|
||||
<ClInclude Include="..\..\classify\intfeaturemap.h" />
|
||||
<ClInclude Include="..\..\classify\intfeaturespace.h" />
|
||||
<ClInclude Include="..\..\classify\intfx.h" />
|
||||
<ClInclude Include="..\..\classify\intmatcher.h" />
|
||||
<ClInclude Include="..\..\classify\intproto.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ipoints.h" />
|
||||
<ClInclude Include="..\..\classify\kdtree.h" />
|
||||
<ClInclude Include="..\..\cube\lang_mod_edge.h" />
|
||||
<ClInclude Include="..\..\cube\lang_model.h" />
|
||||
<ClInclude Include="..\..\wordrec\language_model.h" />
|
||||
<ClInclude Include="..\..\textord\linefind.h" />
|
||||
<ClInclude Include="..\..\ccstruct\linlsq.h" />
|
||||
<ClInclude Include="..\..\ccutil\lsterr.h" />
|
||||
<ClInclude Include="..\..\ccmain\ltrresultiterator.h" />
|
||||
<ClInclude Include="..\..\textord\makerow.h" />
|
||||
<ClInclude Include="..\..\classify\mastertrainer.h" />
|
||||
<ClInclude Include="..\..\dict\matchdefs.h" />
|
||||
<ClInclude Include="..\port\mathfix.h" />
|
||||
<ClInclude Include="..\..\ccstruct\matrix.h" />
|
||||
<ClInclude Include="..\..\wordrec\measure.h" />
|
||||
<ClInclude Include="..\..\ccutil\memry.h" />
|
||||
<ClInclude Include="..\..\classify\mf.h" />
|
||||
<ClInclude Include="..\..\classify\mfdefs.h" />
|
||||
<ClInclude Include="..\..\classify\mfoutline.h" />
|
||||
<ClInclude Include="..\..\classify\mfx.h" />
|
||||
<ClInclude Include="..\..\ccstruct\mod128.h" />
|
||||
<ClInclude Include="..\..\ccmain\mutableiterator.h" />
|
||||
<ClInclude Include="..\..\ccutil\ndminx.h" />
|
||||
<ClInclude Include="..\..\neural_networks\runtime\neural_net.h" />
|
||||
<ClInclude Include="..\..\neural_networks\runtime\neuron.h" />
|
||||
<ClInclude Include="..\..\ccstruct\normalis.h" />
|
||||
<ClInclude Include="..\..\classify\normfeat.h" />
|
||||
<ClInclude Include="..\..\classify\normmatch.h" />
|
||||
<ClInclude Include="..\..\ccutil\nwmain.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ocrblock.h" />
|
||||
<ClInclude Include="..\..\ccutil\ocrclass.h" />
|
||||
<ClInclude Include="..\..\classify\ocrfeatures.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ocrpara.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ocrrow.h" />
|
||||
<ClInclude Include="..\..\textord\oldbasel.h" />
|
||||
<ClInclude Include="..\..\cutil\oldlist.h" />
|
||||
<ClInclude Include="..\..\ccmain\osdetect.h" />
|
||||
<ClInclude Include="..\..\ccstruct\otsuthr.h" />
|
||||
<ClInclude Include="..\..\classify\outfeat.h" />
|
||||
<ClInclude Include="..\..\wordrec\outlines.h" />
|
||||
<ClInclude Include="..\..\ccmain\output.h" />
|
||||
<ClInclude Include="..\..\ccmain\pageiterator.h" />
|
||||
<ClInclude Include="..\..\ccstruct\pageres.h" />
|
||||
<ClInclude Include="..\..\ccmain\paragraphs.h" />
|
||||
<ClInclude Include="..\..\ccmain\paragraphs_internal.h" />
|
||||
<ClInclude Include="..\..\ccutil\params.h" />
|
||||
<ClInclude Include="..\..\ccstruct\params_training_featdef.h" />
|
||||
<ClInclude Include="..\..\ccmain\paramsd.h" />
|
||||
<ClInclude Include="..\..\ccstruct\pdblock.h" />
|
||||
<ClInclude Include="..\..\ccmain\pgedit.h" />
|
||||
<ClInclude Include="..\..\classify\picofeat.h" />
|
||||
<ClInclude Include="..\..\textord\pithsync.h" />
|
||||
<ClInclude Include="..\..\textord\pitsync1.h" />
|
||||
<ClInclude Include="..\..\ccutil\platform.h" />
|
||||
<ClInclude Include="..\..\wordrec\plotedges.h" />
|
||||
<ClInclude Include="..\..\ccstruct\points.h" />
|
||||
<ClInclude Include="..\..\ccstruct\polyaprx.h" />
|
||||
<ClInclude Include="..\..\ccstruct\polyblk.h" />
|
||||
<ClInclude Include="..\..\classify\protos.h" />
|
||||
<ClInclude Include="..\..\ccstruct\publictypes.h" />
|
||||
<ClInclude Include="..\..\ccutil\qrsequence.h" />
|
||||
<ClInclude Include="..\..\ccstruct\quadlsq.h" />
|
||||
<ClInclude Include="..\..\ccstruct\quadratc.h" />
|
||||
<ClInclude Include="..\..\ccstruct\quspline.h" />
|
||||
<ClInclude Include="..\..\ccstruct\ratngs.h" />
|
||||
<ClInclude Include="..\..\ccstruct\rect.h" />
|
||||
<ClInclude Include="..\..\ccstruct\rejctmap.h" />
|
||||
<ClInclude Include="..\..\ccmain\reject.h" />
|
||||
<ClInclude Include="..\..\wordrec\render.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
<ClInclude Include="..\..\ccmain\resultiterator.h" />
|
||||
<ClInclude Include="..\..\classify\sampleiterator.h" />
|
||||
<ClInclude Include="..\..\textord\scanedg.h" />
|
||||
<ClInclude Include="..\..\viewer\scrollview.h" />
|
||||
<ClInclude Include="..\..\ccstruct\seam.h" />
|
||||
<ClInclude Include="..\..\cube\search_column.h" />
|
||||
<ClInclude Include="..\..\cube\search_node.h" />
|
||||
<ClInclude Include="..\..\cube\search_object.h" />
|
||||
<ClInclude Include="..\..\ccutil\serialis.h" />
|
||||
<ClInclude Include="..\..\classify\shapeclassifier.h" />
|
||||
<ClInclude Include="..\..\classify\shapetable.h" />
|
||||
<ClInclude Include="..\..\textord\sortflts.h" />
|
||||
<ClInclude Include="..\..\ccutil\sorthelper.h" />
|
||||
<ClInclude Include="..\..\ccstruct\split.h" />
|
||||
<ClInclude Include="..\..\ccstruct\statistc.h" />
|
||||
<ClInclude Include="..\..\ccutil\stderr.h" />
|
||||
<ClInclude Include="..\..\ccstruct\stepblob.h" />
|
||||
<ClInclude Include="..\..\dict\stopper.h" />
|
||||
<ClInclude Include="..\..\cube\string_32.h" />
|
||||
<ClInclude Include="..\..\ccutil\strngs.h" />
|
||||
<ClInclude Include="..\..\textord\strokewidth.h" />
|
||||
<ClInclude Include="..\port\strtok_r.h" />
|
||||
<ClInclude Include="..\..\cutil\structures.h" />
|
||||
<ClInclude Include="..\..\viewer\svmnode.h" />
|
||||
<ClInclude Include="..\..\viewer\svutil.h" />
|
||||
<ClInclude Include="..\..\textord\tabfind.h" />
|
||||
<ClInclude Include="..\..\textord\tablefind.h" />
|
||||
<ClInclude Include="..\..\textord\tablerecog.h" />
|
||||
<ClInclude Include="..\..\textord\tabvector.h" />
|
||||
<ClInclude Include="..\..\cube\tess_lang_mod_edge.h" />
|
||||
<ClInclude Include="..\..\cube\tess_lang_model.h" />
|
||||
<ClInclude Include="..\..\ccmain\tessbox.h" />
|
||||
<ClInclude Include="..\..\ccutil\tesscallback.h" />
|
||||
<ClInclude Include="..\..\classify\tessclassifier.h" />
|
||||
<ClInclude Include="..\..\ccutil\tessdatamanager.h" />
|
||||
<ClInclude Include="..\..\ccmain\tessedit.h" />
|
||||
<ClInclude Include="..\..\ccmain\tesseract_cube_combiner.h" />
|
||||
<ClInclude Include="..\..\ccmain\tesseractclass.h" />
|
||||
<ClInclude Include="..\..\ccmain\tessvars.h" />
|
||||
<ClInclude Include="..\..\textord\textlineprojection.h" />
|
||||
<ClInclude Include="..\..\textord\textord.h" />
|
||||
<ClInclude Include="..\..\ccmain\thresholder.h" />
|
||||
<ClInclude Include="..\..\textord\topitch.h" />
|
||||
<ClInclude Include="..\..\textord\tordmain.h" />
|
||||
<ClInclude Include="..\..\textord\tovars.h" />
|
||||
<ClInclude Include="..\..\ccutil\tprintf.h" />
|
||||
<ClInclude Include="..\..\classify\trainingsample.h" />
|
||||
<ClInclude Include="..\..\classify\trainingsampleset.h" />
|
||||
<ClInclude Include="..\..\dict\trie.h" />
|
||||
<ClInclude Include="..\..\cube\tuning_params.h" />
|
||||
<ClInclude Include="..\..\textord\underlin.h" />
|
||||
<ClInclude Include="..\..\ccutil\unichar.h" />
|
||||
<ClInclude Include="..\..\ccutil\unicharmap.h" />
|
||||
<ClInclude Include="..\..\ccutil\unicharset.h" />
|
||||
<ClInclude Include="..\..\ccutil\unicity_table.h" />
|
||||
<ClInclude Include="..\..\ccutil\unicodes.h" />
|
||||
<ClInclude Include="..\..\ccstruct\vecfuncs.h" />
|
||||
<ClInclude Include="..\..\ccstruct\werd.h" />
|
||||
<ClInclude Include="..\..\ccmain\werdit.h" />
|
||||
<ClInclude Include="..\..\cube\word_altlist.h" />
|
||||
<ClInclude Include="..\..\cube\word_list_lang_model.h" />
|
||||
<ClInclude Include="..\..\cube\word_size_model.h" />
|
||||
<ClInclude Include="..\..\cube\word_unigrams.h" />
|
||||
<ClInclude Include="..\..\wordrec\wordrec.h" />
|
||||
<ClInclude Include="..\..\textord\wordseg.h" />
|
||||
<ClInclude Include="..\..\textord\workingpartset.h" />
|
||||
<ClInclude Include="..\..\api\renderer.h" />
|
||||
<ClInclude Include="..\..\ccstruct\blamer.h" />
|
||||
<ClInclude Include="..\..\ccutil\doubleptr.h" />
|
||||
<ClInclude Include="..\..\ccutil\genericheap.h" />
|
||||
<ClInclude Include="..\..\ccutil\kdpair.h" />
|
||||
<ClInclude Include="..\..\ccutil\object_cache.h" />
|
||||
<ClInclude Include="..\..\ccutil\scanutils.h" />
|
||||
<ClInclude Include="..\..\ccutil\universalambigs.h" />
|
||||
<ClInclude Include="..\..\dict\dawg_cache.h" />
|
||||
<ClInclude Include="..\..\textord\baselinedetect.h" />
|
||||
<ClInclude Include="..\..\wordrec\lm_consistency.h" />
|
||||
<ClInclude Include="..\..\wordrec\lm_pain_points.h" />
|
||||
<ClInclude Include="..\..\wordrec\lm_state.h" />
|
||||
<ClInclude Include="..\..\wordrec\params_model.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="libtesseract.rc" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
File diff suppressed because it is too large
Load Diff
@ -1,23 +0,0 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by libtesseract.rc
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
@ -1,46 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract304", "libtesseract\libtesseract.vcxproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tesseract", "tesseract\tesseract.vcxproj", "{C76996CB-C4CB-4D89-9F67-F605DF129618}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
DLL_Debug|Win32 = DLL_Debug|Win32
|
||||
DLL_Release|Win32 = DLL_Release|Win32
|
||||
LIB_Debug|Win32 = LIB_Debug|Win32
|
||||
LIB_OpenCL_Debug|Win32 = LIB_OpenCL_Debug|Win32
|
||||
LIB_OpenCL_Release|Win32 = LIB_OpenCL_Release|Win32
|
||||
LIB_Release|Win32 = LIB_Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
|
||||
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.ActiveCfg = LIB_OpenCL_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Debug|Win32.Build.0 = LIB_OpenCL_Debug|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.ActiveCfg = LIB_OpenCL_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_OpenCL_Release|Win32.Build.0 = LIB_OpenCL_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
|
||||
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -1,360 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="DLL_Debug|Win32">
|
||||
<Configuration>DLL_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="DLL_Release|Win32">
|
||||
<Configuration>DLL_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_Debug|Win32">
|
||||
<Configuration>LIB_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_OpenCL_Debug|Win32">
|
||||
<Configuration>LIB_OpenCL_Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_OpenCL_Release|Win32">
|
||||
<Configuration>LIB_OpenCL_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="LIB_Release|Win32">
|
||||
<Configuration>LIB_Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{C76996CB-C4CB-4D89-9F67-F605DF129618}</ProjectGuid>
|
||||
<RootNamespace>tesseract</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\include\tesseract_versionnumbers.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">..\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(Configuration)\</IntDir>
|
||||
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</EnableManagedIncrementalBuild>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(ProjectName)d</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">$(ProjectName)d</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(ProjectName)-dll</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(ProjectName)-dlld</TargetName>
|
||||
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">false</GenerateManifest>
|
||||
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">false</GenerateManifest>
|
||||
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</GenerateManifest>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">$(ProjectName)-opencl</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
<WholeProgramOptimization>
|
||||
</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;zlib$(ZLIB_VERSION)-static-mtdll-debug.lib;libpng$(LIBPNG_VERSION)-static-mtdll-debug.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll-debug.lib;giflib$(GIFLIB_VERSION)-static-mtdll-debug.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll-debug.lib;liblept$(LIBLEPT_VERSION)-static-mtdll-debug.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>
|
||||
</OptimizeReferences>
|
||||
<EnableCOMDATFolding>
|
||||
</EnableCOMDATFolding>
|
||||
<LinkTimeCodeGeneration>
|
||||
</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
<WholeProgramOptimization>
|
||||
</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;OpenCL.lib;zlib$(ZLIB_VERSION)-static-mtdll-debug.lib;libpng$(LIBPNG_VERSION)-static-mtdll-debug.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll-debug.lib;giflib$(GIFLIB_VERSION)-static-mtdll-debug.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll-debug.lib;liblept$(LIBLEPT_VERSION)-static-mtdll-debug.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(AMDAPPSDKROOT)\lib\x86;$(INTELOCLSDKROOT)\lib\x86;..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>
|
||||
</OptimizeReferences>
|
||||
<EnableCOMDATFolding>
|
||||
</EnableCOMDATFolding>
|
||||
<LinkTimeCodeGeneration>
|
||||
</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Full</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;zlib$(ZLIB_VERSION)-static-mtdll.lib;libpng$(LIBPNG_VERSION)-static-mtdll.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll.lib;giflib$(GIFLIB_VERSION)-static-mtdll.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll.lib;liblept$(LIBLEPT_VERSION)-static-mtdll.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_OpenCL_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Full</Optimization>
|
||||
<AdditionalIncludeDirectories>$(AMDAPPSDKROOT)\include;$(INTELOCLSDKROOT)\include;..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>USE_OPENCL;WIN32;_WINDOWS;NDEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;OpenCL.lib;zlib$(ZLIB_VERSION)-static-mtdll.lib;libpng$(LIBPNG_VERSION)-static-mtdll.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll.lib;giflib$(GIFLIB_VERSION)-static-mtdll.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll.lib;liblept$(LIBLEPT_VERSION)-static-mtdll.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;$(AMDAPPSDKROOT)\lib\x86;$(INTELOCLSDKROOT)\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Full</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;USE_STD_NAMESPACE;TESS_IMPORTS;LIBLEPT_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>
|
||||
</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION).lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Version>$(LIBTESS_NUMBER)</Version>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">
|
||||
<CustomBuildStep>
|
||||
<Message>
|
||||
</Message>
|
||||
<Command>
|
||||
</Command>
|
||||
<Outputs>%(Outputs)</Outputs>
|
||||
</CustomBuildStep>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;..\..\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;USE_STD_NAMESPACE;TESS_IMPORTS;LIBLEPT_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||
<CompileAs>Default</CompileAs>
|
||||
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION)d.lib</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<Version>$(LIBLEPT_NUMBER)</Version>
|
||||
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\api\tesseractmain.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="resource.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="tesseract.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\libtesseract\libtesseract.vcxproj">
|
||||
<Project>{d14f28c7-0cae-4c37-b174-40fdefbd4fe0}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\api\tesseractmain.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="tesseract.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,511 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
from __future__ import print_function
|
||||
from builtins import input
|
||||
"""
|
||||
tesshelper.py -- Utility operations to compare, report stats, and copy
|
||||
public headers for tesseract 3.0x VS2010 Project
|
||||
|
||||
$RCSfile: tesshelper.py,v $ $Revision: 7ca575b377aa $ $Date: 2012/03/07 17:26:31 $
|
||||
"""
|
||||
|
||||
r"""
|
||||
Requires:
|
||||
|
||||
python 2.7 or greater: activestate.com
|
||||
http://www.activestate.com/activepython/downloads
|
||||
|
||||
because using the new argparse module and new literal set syntax (s={1, 2}) .
|
||||
|
||||
General Notes:
|
||||
--------------
|
||||
|
||||
Format for a .vcproj file entry:
|
||||
|
||||
<File
|
||||
RelativePath="..\src\allheaders.h"
|
||||
>
|
||||
</File>
|
||||
|
||||
"""
|
||||
|
||||
epilogStr = r"""
|
||||
Examples:
|
||||
|
||||
Assume that tesshelper.py is in c:\buildfolder\tesseract-3.02\vs2010,
|
||||
which is also the current directory. Then,
|
||||
|
||||
python tesshelper .. compare
|
||||
|
||||
will compare c:\buildfolder\tesseract-3.02 "library" directories to the
|
||||
libtesseract Project
|
||||
(c:\buildfolder\tesseract-3.02\vs2010\libtesseract\libtesseract.vcproj).
|
||||
|
||||
python tesshelper .. report
|
||||
|
||||
will display summary stats for c:\buildfolder\tesseract-3.02 "library"
|
||||
directories and the libtesseract Project.
|
||||
|
||||
python tesshelper .. copy ..\..\include
|
||||
|
||||
will copy all "public" libtesseract header files to
|
||||
c:\buildfolder\include.
|
||||
|
||||
python tesshelper .. clean
|
||||
|
||||
will clean the vs2010 folder of all build directories, and .user, .suo,
|
||||
.ncb, and other temp files.
|
||||
|
||||
"""
|
||||
|
||||
# imports of python standard library modules
|
||||
# See Python Documentation | Library Reference for details
|
||||
import collections
|
||||
import glob
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
# ====================================================================
|
||||
|
||||
VERSION = "1.0 %s" % "$Date: 2012/03/07 17:26:31 $".split()[1]
|
||||
PROJ_SUBDIR = r"vs2010\libtesseract"
|
||||
PROJFILE = "libtesseract.vcproj"
|
||||
|
||||
NEWHEADERS_FILENAME = "newheaders.txt"
|
||||
NEWSOURCES_FILENAME = "newsources.txt"
|
||||
|
||||
fileNodeTemplate = \
|
||||
''' <ClCompile Include="..\..\%s" />'''
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def getProjectfiles(libTessDir, libProjectFile, nTrimChars):
|
||||
"""Return sets of all, c, h, and resources files in libtesseract Project"""
|
||||
|
||||
#extract filenames of header & source files from the .vcproj
|
||||
projectCFiles = set()
|
||||
projectHFiles = set()
|
||||
projectRFiles = set()
|
||||
projectFilesSet = set()
|
||||
f = open(libProjectFile, "r")
|
||||
data = f.read()
|
||||
f.close()
|
||||
|
||||
projectFiles = re.findall(r'(?i)Include="(\.[^"]+)"', data)
|
||||
for projectFile in projectFiles:
|
||||
root, ext = os.path.splitext(projectFile.lower())
|
||||
if ext == ".c" or ext == ".cpp":
|
||||
projectCFiles.add(projectFile)
|
||||
elif ext == ".h":
|
||||
projectHFiles.add(projectFile)
|
||||
elif ext == ".rc":
|
||||
projectRFiles.add(projectFile)
|
||||
else:
|
||||
print("unknown file type: %s" % projectFile)
|
||||
|
||||
relativePath = os.path.join(libTessDir, projectFile)
|
||||
relativePath = os.path.abspath(relativePath)
|
||||
relativePath = relativePath[nTrimChars:].lower()
|
||||
projectFilesSet.add(relativePath)
|
||||
|
||||
return projectFilesSet, projectHFiles, projectCFiles, projectRFiles
|
||||
|
||||
def getTessLibFiles(tessDir, nTrimChars):
|
||||
"""Return set of all libtesseract files in tessDir"""
|
||||
|
||||
libDirs = [
|
||||
"api",
|
||||
"ccmain",
|
||||
"ccstruct",
|
||||
"ccutil",
|
||||
"classify",
|
||||
"cube",
|
||||
"cutil",
|
||||
"dict",
|
||||
r"neural_networks\runtime",
|
||||
"opencl",
|
||||
"textord",
|
||||
"viewer",
|
||||
"wordrec",
|
||||
#"training",
|
||||
r"vs2010\port",
|
||||
r"vs2010\libtesseract",
|
||||
]
|
||||
|
||||
#create list of all .h, .c, .cpp files in "library" directories
|
||||
tessFiles = set()
|
||||
for curDir in libDirs:
|
||||
baseDir = os.path.join(tessDir, curDir)
|
||||
for filetype in ["*.c", "*.cpp", "*.h"]:
|
||||
pattern = os.path.join(baseDir, filetype)
|
||||
fileList = glob.glob(pattern)
|
||||
for curFile in fileList:
|
||||
curFile = os.path.abspath(curFile)
|
||||
relativePath = curFile[nTrimChars:].lower()
|
||||
tessFiles.add(relativePath)
|
||||
|
||||
return tessFiles
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def tessCompare(tessDir):
|
||||
'''Compare libtesseract Project files and actual "sub-library" files.'''
|
||||
|
||||
vs2010Dir = os.path.join(tessDir, "vs2010")
|
||||
libTessDir = os.path.join(vs2010Dir, "libtesseract")
|
||||
libProjectFile = os.path.join(libTessDir,"libtesseract.vcxproj")
|
||||
tessAbsDir = os.path.abspath(tessDir)
|
||||
nTrimChars = len(tessAbsDir)+1
|
||||
print('Comparing VS2010 Project "%s" with\n "%s"' % (libProjectFile,
|
||||
tessAbsDir))
|
||||
|
||||
projectFilesSet, projectHFiles, projectCFiles, projectRFiles = \
|
||||
getProjectfiles(libTessDir, libProjectFile, nTrimChars)
|
||||
tessFiles = getTessLibFiles(tessDir, nTrimChars)
|
||||
|
||||
extraFiles = tessFiles - projectFilesSet
|
||||
print("%2d Extra files (in %s but not in Project)" % (len(extraFiles),
|
||||
tessAbsDir))
|
||||
headerFiles = []
|
||||
sourceFiles = []
|
||||
sortedList = list(extraFiles)
|
||||
sortedList.sort()
|
||||
for filename in sortedList:
|
||||
root, ext = os.path.splitext(filename.lower())
|
||||
if ext == ".h":
|
||||
headerFiles.append(filename)
|
||||
else:
|
||||
sourceFiles.append(filename)
|
||||
print(" %s " % filename)
|
||||
|
||||
print()
|
||||
print("%2d new header file items written to %s" % (len(headerFiles),
|
||||
NEWHEADERS_FILENAME))
|
||||
headerFiles.sort()
|
||||
with open(NEWHEADERS_FILENAME, "w") as f:
|
||||
for filename in headerFiles:
|
||||
f.write(fileNodeTemplate % filename)
|
||||
|
||||
print("%2d new source file items written to %s" % (len(sourceFiles),
|
||||
NEWSOURCES_FILENAME))
|
||||
sourceFiles.sort()
|
||||
with open(NEWSOURCES_FILENAME, "w") as f:
|
||||
for filename in sourceFiles:
|
||||
f.write(fileNodeTemplate % filename)
|
||||
print()
|
||||
|
||||
deadFiles = projectFilesSet - tessFiles
|
||||
print("%2d Dead files (in Project but not in %s" % (len(deadFiles),
|
||||
tessAbsDir))
|
||||
sortedList = list(deadFiles)
|
||||
sortedList.sort()
|
||||
for filename in sortedList:
|
||||
print(" %s " % filename)
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def tessReport(tessDir):
|
||||
"""Report summary stats on "sub-library" files and libtesseract Project file."""
|
||||
|
||||
vs2010Dir = os.path.join(tessDir, "vs2010")
|
||||
libTessDir = os.path.join(vs2010Dir, "libtesseract")
|
||||
libProjectFile = os.path.join(libTessDir,"libtesseract.vcproj")
|
||||
tessAbsDir = os.path.abspath(tessDir)
|
||||
nTrimChars = len(tessAbsDir)+1
|
||||
|
||||
projectFilesSet, projectHFiles, projectCFiles, projectRFiles = \
|
||||
getProjectfiles(libTessDir, libProjectFile, nTrimChars)
|
||||
tessFiles = getTessLibFiles(tessDir, nTrimChars)
|
||||
|
||||
print('Summary stats for "%s" library directories' % tessAbsDir)
|
||||
folderCounters = {}
|
||||
for tessFile in tessFiles:
|
||||
tessFile = tessFile.lower()
|
||||
folder, head = os.path.split(tessFile)
|
||||
file, ext = os.path.splitext(head)
|
||||
typeCounter = folderCounters.setdefault(folder, collections.Counter())
|
||||
typeCounter[ext[1:]] += 1
|
||||
|
||||
folders = list(folderCounters.keys())
|
||||
folders.sort()
|
||||
totalFiles = 0
|
||||
totalH = 0
|
||||
totalCPP = 0
|
||||
totalOther = 0
|
||||
|
||||
print()
|
||||
print(" total h cpp")
|
||||
print(" ----- --- ---")
|
||||
for folder in folders:
|
||||
counters = folderCounters[folder]
|
||||
nHFiles = counters['h']
|
||||
nCPPFiles = counters['cpp']
|
||||
|
||||
total = nHFiles + nCPPFiles
|
||||
totalFiles += total
|
||||
totalH += nHFiles
|
||||
totalCPP += nCPPFiles
|
||||
|
||||
print(" %5d %3d %3d %s" % (total, nHFiles, nCPPFiles, folder))
|
||||
print(" ----- --- ---")
|
||||
print(" %5d %3d %3d" % (totalFiles, totalH, totalCPP))
|
||||
|
||||
print()
|
||||
print('Summary stats for VS2010 Project "%s"' % libProjectFile)
|
||||
print(" %5d %s" %(len(projectHFiles), "Header files"))
|
||||
print(" %5d %s" % (len(projectCFiles), "Source files"))
|
||||
print(" %5d %s" % (len(projectRFiles), "Resource files"))
|
||||
print(" -----")
|
||||
print(" %5d" % (len(projectHFiles) + len(projectCFiles) + len(projectRFiles), ))
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def copyIncludes(fileSet, description, tessDir, includeDir):
|
||||
"""Copy set of files to specified include dir."""
|
||||
|
||||
print()
|
||||
print('Copying libtesseract "%s" headers to %s' % (description, includeDir))
|
||||
print()
|
||||
|
||||
sortedList = list(fileSet)
|
||||
sortedList.sort()
|
||||
|
||||
count = 0
|
||||
errList = []
|
||||
for includeFile in sortedList:
|
||||
filepath = os.path.join(tessDir, includeFile)
|
||||
if os.path.isfile(filepath):
|
||||
shutil.copy2(filepath, includeDir)
|
||||
print("Copied: %s" % includeFile)
|
||||
count += 1
|
||||
else:
|
||||
print('***Error: "%s" doesn\'t exist"' % filepath)
|
||||
errList.append(filepath)
|
||||
|
||||
print('%d header files successfully copied to "%s"' % (count, includeDir))
|
||||
if len(errList):
|
||||
print("The following %d files were not copied:")
|
||||
for filepath in errList:
|
||||
print(" %s" % filepath)
|
||||
|
||||
def tessCopy(tessDir, includeDir):
|
||||
'''Copy all "public" libtesseract Project header files to include directory.
|
||||
|
||||
Preserves directory hierarchy.'''
|
||||
|
||||
baseIncludeSet = {
|
||||
r"api\baseapi.h",
|
||||
r"api\capi.h",
|
||||
r"api\apitypes.h",
|
||||
r"ccstruct\publictypes.h",
|
||||
r"ccmain\thresholder.h",
|
||||
r"ccutil\host.h",
|
||||
r"ccutil\basedir.h",
|
||||
r"ccutil\tesscallback.h",
|
||||
r"ccutil\unichar.h",
|
||||
r"ccutil\platform.h",
|
||||
}
|
||||
|
||||
strngIncludeSet = {
|
||||
r"ccutil\strngs.h",
|
||||
r"ccutil\memry.h",
|
||||
r"ccutil\host.h",
|
||||
r"ccutil\serialis.h",
|
||||
r"ccutil\errcode.h",
|
||||
r"ccutil\fileerr.h",
|
||||
#r"ccutil\genericvector.h",
|
||||
}
|
||||
|
||||
resultIteratorIncludeSet = {
|
||||
r"ccmain\ltrresultiterator.h",
|
||||
r"ccmain\pageiterator.h",
|
||||
r"ccmain\resultiterator.h",
|
||||
r"ccutil\genericvector.h",
|
||||
r"ccutil\tesscallback.h",
|
||||
r"ccutil\errcode.h",
|
||||
r"ccutil\host.h",
|
||||
r"ccutil\helpers.h",
|
||||
r"ccutil\ndminx.h",
|
||||
r"ccutil\params.h",
|
||||
r"ccutil\unicharmap.h",
|
||||
r"ccutil\unicharset.h",
|
||||
}
|
||||
|
||||
genericVectorIncludeSet = {
|
||||
r"ccutil\genericvector.h",
|
||||
r"ccutil\tesscallback.h",
|
||||
r"ccutil\errcode.h",
|
||||
r"ccutil\host.h",
|
||||
r"ccutil\helpers.h",
|
||||
r"ccutil\ndminx.h",
|
||||
}
|
||||
|
||||
blobsIncludeSet = {
|
||||
r"ccstruct\blobs.h",
|
||||
r"ccstruct\rect.h",
|
||||
r"ccstruct\points.h",
|
||||
r"ccstruct\ipoints.h",
|
||||
r"ccutil\elst.h",
|
||||
r"ccutil\host.h",
|
||||
r"ccutil\serialis.h",
|
||||
r"ccutil\lsterr.h",
|
||||
r"ccutil\ndminx.h",
|
||||
r"ccutil\tprintf.h",
|
||||
r"ccutil\params.h",
|
||||
r"viewer\scrollview.h",
|
||||
r"ccstruct\vecfuncs.h",
|
||||
}
|
||||
|
||||
extraFilesSet = {
|
||||
#r"vs2010\include\stdint.h",
|
||||
r"vs2010\include\leptonica_versionnumbers.vsprops",
|
||||
r"vs2010\include\tesseract_versionnumbers.vsprops",
|
||||
}
|
||||
|
||||
tessIncludeDir = os.path.join(includeDir, "tesseract")
|
||||
if os.path.isfile(tessIncludeDir):
|
||||
print('Aborting: "%s" is a file not a directory.' % tessIncludeDir)
|
||||
return
|
||||
if not os.path.exists(tessIncludeDir):
|
||||
os.mkdir(tessIncludeDir)
|
||||
|
||||
#fileSet = baseIncludeSet | strngIncludeSet | genericVectorIncludeSet | blobsIncludeSet
|
||||
fileSet = baseIncludeSet | strngIncludeSet | resultIteratorIncludeSet
|
||||
|
||||
copyIncludes(fileSet, "public", tessDir, tessIncludeDir)
|
||||
copyIncludes(extraFilesSet, "extra", tessDir, includeDir)
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def tessClean(tessDir):
|
||||
'''Clean vs2010 folder of all build directories and certain temp files.'''
|
||||
|
||||
vs2010Dir = os.path.join(tessDir, "vs2010")
|
||||
vs2010AbsDir = os.path.abspath(vs2010Dir)
|
||||
|
||||
answer = eval(input(
|
||||
'Are you sure you want to clean the\n "%s" folder (Yes/No) [No]? ' %
|
||||
vs2010AbsDir))
|
||||
if answer.lower() not in ("yes",):
|
||||
return
|
||||
answer = eval(input('Only list the items to be deleted (Yes/No) [Yes]? '))
|
||||
answer = answer.strip()
|
||||
listOnly = answer.lower() not in ("no",)
|
||||
|
||||
for rootDir, dirs, files in os.walk(vs2010AbsDir):
|
||||
for buildDir in ("LIB_Release", "LIB_Debug", "DLL_Release", "DLL_Debug"):
|
||||
if buildDir in dirs:
|
||||
dirs.remove(buildDir)
|
||||
absBuildDir = os.path.join(rootDir, buildDir)
|
||||
if listOnly:
|
||||
print("Would remove: %s" % absBuildDir)
|
||||
else:
|
||||
print("Removing: %s" % absBuildDir)
|
||||
shutil.rmtree(absBuildDir)
|
||||
|
||||
if rootDir == vs2010AbsDir:
|
||||
for file in files:
|
||||
if file.lower() not in ("tesseract.sln",
|
||||
"tesshelper.py",
|
||||
"readme.txt"):
|
||||
absPath = os.path.join(rootDir, file)
|
||||
if listOnly:
|
||||
print("Would remove: %s" % absPath)
|
||||
else:
|
||||
print("Removing: %s" % absPath)
|
||||
os.remove(absPath)
|
||||
else:
|
||||
for file in files:
|
||||
root, ext = os.path.splitext(file)
|
||||
if ext.lower() in (".suo",
|
||||
".ncb",
|
||||
".user",
|
||||
) or (
|
||||
len(ext)>0 and ext[-1] == "~"):
|
||||
absPath = os.path.join(rootDir, file)
|
||||
if listOnly:
|
||||
print("Would remove: %s" % absPath)
|
||||
else:
|
||||
print("Removing: %s" % absPath)
|
||||
os.remove(absPath)
|
||||
|
||||
# ====================================================================
|
||||
|
||||
def validateTessDir(tessDir):
|
||||
"""Check that tessDir is a valid tesseract directory."""
|
||||
|
||||
if not os.path.isdir(tessDir):
|
||||
raise argparse.ArgumentTypeError('Directory "%s" doesn\'t exist.' % tessDir)
|
||||
projFile = os.path.join(tessDir, PROJ_SUBDIR, PROJFILE)
|
||||
if not os.path.isfile(projFile):
|
||||
raise argparse.ArgumentTypeError('Project file "%s" doesn\'t exist.' % projFile)
|
||||
return tessDir
|
||||
|
||||
def validateDir(dir):
|
||||
"""Check that dir is a valid directory named include."""
|
||||
|
||||
if not os.path.isdir(dir):
|
||||
raise argparse.ArgumentTypeError('Directory "%s" doesn\'t exist.' % dir)
|
||||
|
||||
dirpath = os.path.abspath(dir)
|
||||
head, tail = os.path.split(dirpath)
|
||||
if tail.lower() != "include":
|
||||
raise argparse.ArgumentTypeError('Include directory "%s" must be named "include".' % tail)
|
||||
|
||||
return dir
|
||||
|
||||
def main ():
|
||||
parser = argparse.ArgumentParser(
|
||||
epilog=epilogStr,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
|
||||
parser.add_argument("--version", action="version",
|
||||
version="%(prog)s " + VERSION)
|
||||
parser.add_argument('tessDir', type=validateTessDir,
|
||||
help="tesseract installation directory")
|
||||
|
||||
subparsers = parser.add_subparsers(
|
||||
dest="subparser_name",
|
||||
title="Commands")
|
||||
parser_changes = subparsers.add_parser('compare',
|
||||
help="compare libtesseract Project with tessDir")
|
||||
parser_changes.set_defaults(func=tessCompare)
|
||||
|
||||
parser_report = subparsers.add_parser('report',
|
||||
help="report libtesseract summary stats")
|
||||
parser_report.set_defaults(func=tessReport)
|
||||
|
||||
parser_copy = subparsers.add_parser('copy',
|
||||
help="copy public libtesseract header files to includeDir")
|
||||
parser_copy.add_argument('includeDir', type=validateDir,
|
||||
help="Directory to copy header files to.")
|
||||
parser_copy.set_defaults(func=tessCopy)
|
||||
|
||||
parser_clean = subparsers.add_parser('clean',
|
||||
help="clean vs2010 folder of build folders and .user files")
|
||||
parser_clean.set_defaults(func=tessClean)
|
||||
|
||||
#kludge because argparse has no ability to set default subparser
|
||||
if (len(sys.argv) == 2):
|
||||
sys.argv.append("compare")
|
||||
args = parser.parse_args()
|
||||
|
||||
#handle commands
|
||||
if args.func == tessCopy:
|
||||
args.func(args.tessDir, args.includeDir)
|
||||
else:
|
||||
args.func(args.tessDir)
|
||||
|
||||
if __name__ == '__main__' :
|
||||
main()
|
@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
FOR /F "tokens=*" %%i IN ('call git describe --tags --always') DO echo #define GIT_REV "%%i" > ..\port\vcsversion.h
|
Loading…
Reference in New Issue
Block a user