diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/README.txt | 1 | ||||
-rw-r--r-- | win32/jconfig.h | 45 | ||||
-rw-r--r-- | win32/libmupdf.vcproj | 526 | ||||
-rw-r--r-- | win32/libthirdparty.vcproj | 680 | ||||
-rw-r--r-- | win32/mupdf.sln | 76 | ||||
-rw-r--r-- | win32/mupdf.vcproj | 177 | ||||
-rw-r--r-- | win32/opj_config.h | 41 | ||||
-rw-r--r-- | win32/pdfclean.vcproj | 168 | ||||
-rw-r--r-- | win32/pdfdraw.vcproj | 168 | ||||
-rw-r--r-- | win32/pdfextract.vcproj | 168 | ||||
-rw-r--r-- | win32/pdfshow.vcproj | 168 |
11 files changed, 2218 insertions, 0 deletions
diff --git a/win32/README.txt b/win32/README.txt new file mode 100644 index 00000000..91bb5555 --- /dev/null +++ b/win32/README.txt @@ -0,0 +1 @@ +This MSVC project needs both the thirdparty and pregen sources to be in place. diff --git a/win32/jconfig.h b/win32/jconfig.h new file mode 100644 index 00000000..679404da --- /dev/null +++ b/win32/jconfig.h @@ -0,0 +1,45 @@ +/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ +/* see jconfig.txt for explanations */ + +#define HAVE_PROTOTYPES +#define HAVE_UNSIGNED_CHAR +#define HAVE_UNSIGNED_SHORT +/* #define void char */ +/* #define const */ +#undef CHAR_IS_UNSIGNED +#define HAVE_STDDEF_H +#define HAVE_STDLIB_H +#undef NEED_BSD_STRINGS +#undef NEED_SYS_TYPES_H +#undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */ +#undef NEED_SHORT_EXTERNAL_NAMES +#undef INCOMPLETE_TYPES_BROKEN + +/* Define "boolean" as unsigned char, not int, per Windows custom */ +#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ +typedef unsigned char boolean; +#endif +#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ + + +#ifdef JPEG_INTERNALS + +#undef RIGHT_SHIFT_IS_UNSIGNED + +#endif /* JPEG_INTERNALS */ + +#ifdef JPEG_CJPEG_DJPEG + +#define BMP_SUPPORTED /* BMP image file format */ +#define GIF_SUPPORTED /* GIF image file format */ +#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ +#undef RLE_SUPPORTED /* Utah RLE image file format */ +#define TARGA_SUPPORTED /* Targa image file format */ + +#define TWO_FILE_COMMANDLINE /* optional */ +#define USE_SETMODE /* Microsoft has setmode() */ +#undef NEED_SIGNAL_CATCHER +#undef DONT_USE_B_MODE +#undef PROGRESS_REPORT /* optional */ + +#endif /* JPEG_CJPEG_DJPEG */ diff --git a/win32/libmupdf.vcproj b/win32/libmupdf.vcproj new file mode 100644 index 00000000..8ff67a52 --- /dev/null +++ b/win32/libmupdf.vcproj @@ -0,0 +1,526 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="libmupdf"
+ ProjectGUID="{5F615F91-DFF8-4F05-BF48-6222B7D86519}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="4"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\win32;..\fitz;..\mupdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8c;..\thirdparty\openjpeg-1.4\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.4\include"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="4"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\win32;..\fitz;..\mupdf;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8c;..\thirdparty\openjpeg-1.4\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.4\include"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="pregen"
+ >
+ <File
+ RelativePath="..\pregen\cmap_cns.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\cmap_gb.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\cmap_japan.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\cmap_korea.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\cmap_unicode.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\font_base14.c"
+ >
+ </File>
+ <File
+ RelativePath="..\pregen\font_cjk.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="mupdf"
+ >
+ <File
+ RelativePath="..\mupdf\mupdf.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_annot.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_build.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_cmap.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_cmap_load.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_cmap_parse.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_cmap_table.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_colorspace.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_crypt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_debug.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_font.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_fontagl.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_fontenc.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_fontfile.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_fontmtx.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_function.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_image.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_interpret.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_lex.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_nametree.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_outline.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_page.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_pagetree.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_parse.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_pattern.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_repair.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_shade.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_store.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_stream.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_type3.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_unicode.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_xobject.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mupdf\pdf_xref.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="fitz"
+ >
+ <File
+ RelativePath="..\fitz\base_error.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_geometry.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_getopt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_hash.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_memory.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_string.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\base_time.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\crypt_aes.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\crypt_arc4.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\crypt_md5.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\crypt_sha2.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_bbox.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_draw.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_list.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_null.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_text.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\dev_trace.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_basic.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_dctd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_faxd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_flate.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_jbig2d.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_jpxd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_lzwd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\filt_predict.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\fitz.h"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\obj_array.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\obj_dict.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\obj_print.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\obj_simple.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_colorspace.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_font.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_path.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_pixmap.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_shade.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\res_text.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\stm_buffer.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\stm_open.c"
+ >
+ </File>
+ <File
+ RelativePath="..\fitz\stm_read.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="draw"
+ >
+ <File
+ RelativePath="..\draw\archport.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\blendmodes.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\glyphcache.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\imagedraw.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\imagescale.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\imagesmooth.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\imageunpack.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\meshdraw.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\pathfill.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\pathscan.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\pathstroke.c"
+ >
+ </File>
+ <File
+ RelativePath="..\draw\porterduff.c"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/libthirdparty.vcproj b/win32/libthirdparty.vcproj new file mode 100644 index 00000000..5a09f5d5 --- /dev/null +++ b/win32/libthirdparty.vcproj @@ -0,0 +1,680 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="libthirdparty"
+ ProjectGUID="{5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="4"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\win32;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8c;..\thirdparty\openjpeg-1.4\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.4\include"
+ PreprocessorDefinitions="FT2_BUILD_LIBRARY;OPJ_STATIC"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="4"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\win32;..\thirdparty\jbig2dec;..\thirdparty\jpeg-8c;..\thirdparty\openjpeg-1.4\libopenjpeg;..\thirdparty\zlib-1.2.5;..\thirdparty\freetype-2.4.4\include"
+ PreprocessorDefinitions="FT2_BUILD_LIBRARY;OPJ_STATIC"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="libjpeg"
+ >
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jaricom.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcapimin.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcapistd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcarith.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jccoefct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jccolor.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcdctmgr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jchuff.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcinit.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcmainct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcmarker.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcmaster.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcomapi.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcparam.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcprepct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jcsample.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jctrans.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdapimin.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdapistd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdarith.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdatadst.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdatasrc.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdcoefct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdcolor.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jddctmgr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdhuff.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdinput.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdmainct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdmarker.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdmaster.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdmerge.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdpostct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdsample.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jdtrans.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jerror.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jfdctflt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jfdctfst.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jfdctint.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jidctflt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jidctfst.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jidctint.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jmemansi.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jmemmgr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jquant1.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jquant2.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jpeg-8c\jutils.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="libjbig2dec"
+ >
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_arith.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_arith_iaid.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_arith_int.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_generic.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_huffman.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_image.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_metadata.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_mmr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_page.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_refinement.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_segment.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_symbol_dict.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\jbig2dec\jbig2_text.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="libz"
+ >
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\adler32.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\compress.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\crc32.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\deflate.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\infback.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\inffast.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\inflate.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\inftrees.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\trees.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\uncompr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\zlib-1.2.5\zutil.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="libopenjpeg"
+ >
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\bio.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\cio.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\dwt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\event.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\image.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\j2k.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\j2k_lib.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\jp2.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\jpt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\mct.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\mqc.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\openjpeg.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\pi.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\raw.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\t1.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\t2.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\tcd.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\openjpeg-1.4\libopenjpeg\tgt.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="libfreetype"
+ >
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\autofit\autofit.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\bdf\bdf.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\cff\cff.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\cache\ftcache.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\gzip\ftgzip.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\lzw\ftlzw.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\pcf\pcf.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\pfr\pfr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\psaux\psaux.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\pshinter\pshinter.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\psnames\psnames.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\raster\raster.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\sfnt\sfnt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\smooth\smooth.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\truetype\truetype.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\type1\type1.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\cid\type1cid.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\type42\type42.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\winfonts\winfnt.c"
+ >
+ </File>
+ <Filter
+ Name="base"
+ >
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftbase.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftbbox.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftbdf.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftbitmap.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftdebug.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftgasp.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftglyph.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftgxval.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftinit.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftlcdfil.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftmm.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftotval.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftpfr.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftstroke.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftsynth.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftsystem.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\fttype1.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftwinfnt.c"
+ >
+ </File>
+ <File
+ RelativePath="..\thirdparty\freetype-2.4.4\src\base\ftxf86.c"
+ >
+ </File>
+ </Filter>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/mupdf.sln b/win32/mupdf.sln new file mode 100644 index 00000000..92f0991a --- /dev/null +++ b/win32/mupdf.sln @@ -0,0 +1,76 @@ +
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual C++ Express 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mupdf", "mupdf.vcproj", "{E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519}
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libthirdparty", "libthirdparty.vcproj", "{5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmupdf", "libmupdf.vcproj", "{5F615F91-DFF8-4F05-BF48-6222B7D86519}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdfdraw", "pdfdraw.vcproj", "{26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519}
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdfclean", "pdfclean.vcproj", "{923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519}
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdfshow", "pdfshow.vcproj", "{50644121-C85F-4EE9-9C54-F7D1BDFAE354}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519}
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdfextract", "pdfextract.vcproj", "{BD4473E7-2DBE-4568-A0FC-38EED70182DC}"
+ ProjectSection(ProjectDependencies) = postProject
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519}
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Debug|Win32.Build.0 = Debug|Win32
+ {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|Win32.ActiveCfg = Release|Win32
+ {E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}.Release|Win32.Build.0 = Release|Win32
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|Win32.ActiveCfg = Debug|Win32
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Debug|Win32.Build.0 = Debug|Win32
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|Win32.ActiveCfg = Release|Win32
+ {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C}.Release|Win32.Build.0 = Release|Win32
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|Win32.ActiveCfg = Debug|Win32
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Debug|Win32.Build.0 = Debug|Win32
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|Win32.ActiveCfg = Release|Win32
+ {5F615F91-DFF8-4F05-BF48-6222B7D86519}.Release|Win32.Build.0 = Release|Win32
+ {26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}.Debug|Win32.Build.0 = Debug|Win32
+ {26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}.Release|Win32.ActiveCfg = Release|Win32
+ {26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}.Release|Win32.Build.0 = Release|Win32
+ {923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}.Debug|Win32.Build.0 = Debug|Win32
+ {923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}.Release|Win32.ActiveCfg = Release|Win32
+ {923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}.Release|Win32.Build.0 = Release|Win32
+ {50644121-C85F-4EE9-9C54-F7D1BDFAE354}.Debug|Win32.ActiveCfg = Debug|Win32
+ {50644121-C85F-4EE9-9C54-F7D1BDFAE354}.Debug|Win32.Build.0 = Debug|Win32
+ {50644121-C85F-4EE9-9C54-F7D1BDFAE354}.Release|Win32.ActiveCfg = Release|Win32
+ {50644121-C85F-4EE9-9C54-F7D1BDFAE354}.Release|Win32.Build.0 = Release|Win32
+ {BD4473E7-2DBE-4568-A0FC-38EED70182DC}.Debug|Win32.ActiveCfg = Debug|Win32
+ {BD4473E7-2DBE-4568-A0FC-38EED70182DC}.Debug|Win32.Build.0 = Debug|Win32
+ {BD4473E7-2DBE-4568-A0FC-38EED70182DC}.Release|Win32.ActiveCfg = Release|Win32
+ {BD4473E7-2DBE-4568-A0FC-38EED70182DC}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/win32/mupdf.vcproj b/win32/mupdf.vcproj new file mode 100644 index 00000000..684093e9 --- /dev/null +++ b/win32/mupdf.vcproj @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="mupdf"
+ ProjectGUID="{E74F29F0-FA43-4ADC-B92C-6AFA08E4A417}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ PreprocessorDefinitions="FT2_BUILD_LIBRARY;OPJ_STATIC"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\apps\pdfapp.c"
+ >
+ </File>
+ <File
+ RelativePath="..\apps\win_main.c"
+ >
+ </File>
+ <File
+ RelativePath="..\apps\win_res.rc"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/opj_config.h b/win32/opj_config.h new file mode 100644 index 00000000..f86ccce6 --- /dev/null +++ b/win32/opj_config.h @@ -0,0 +1,41 @@ +/* If you want to build the library manually without using + * 'configure' or 'CMake' + * then copy this file + * 'opj_config.h.in.user' + * to + * 'opj_config.h' + * + * Open 'opj_config.h' and change the file contents + * if you want to define something because you know you have + * BOTH installed the library AND the header file(s). + * Then e.g. write +#define HAVE_LIBPNG 1 + * + * + * The file 'opj_config.h' will be included in some source files. + * ==== YOU CAN NOT COMPILE WITHOUT IT. ==== + * === DO NOT FOREGET TO CHANGE 'config.nix' APPROPRIATELY. ==== +*/ + +/* DO NOT DEFINE BOTH VERSIONS OF LCMS */ +/* define to 1 if you have both liblcms and lcms.h installed */ +#undef HAVE_LIBLCMS1 +/* #define HAVE_LIBLCMS1 1 */ + +/* define to 1 if you have both liblcms2 and lcms2.h installed */ +#undef HAVE_LIBLCMS2 +/* #define HAVE_LIBLCMS2 1 */ + +/* define to 1 if you have both libpng and png.h installed */ +#undef HAVE_LIBPNG +/* #define HAVE_LIBPNG 1 */ + +/* define to 1 if you have both libtiff and tiff.h installed */ +#undef HAVE_LIBTIFF +/* #define HAVE_LIBTIFF 1 */ + +/*---------------- DO NOT CHANGE BELOW THIS LINE ----------------*/ +#define PACKAGE_URL "http://www.openjpeg.org/" +#define PACKAGE_BUGREPORT "http://code.google.com/p/openjpeg/" + +#define PACKAGE_VERSION "1.4.0" diff --git a/win32/pdfclean.vcproj b/win32/pdfclean.vcproj new file mode 100644 index 00000000..eb26fc00 --- /dev/null +++ b/win32/pdfclean.vcproj @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="pdfclean"
+ ProjectGUID="{923D7C3D-A5CD-47F1-9BB3-F716531DCCCE}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\apps\pdfclean.c"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/pdfdraw.vcproj b/win32/pdfdraw.vcproj new file mode 100644 index 00000000..1f34cff0 --- /dev/null +++ b/win32/pdfdraw.vcproj @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="pdfdraw"
+ ProjectGUID="{26C5D7C3-BEE9-4886-9CDB-846D26F5BCDB}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\apps\pdfdraw.c"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/pdfextract.vcproj b/win32/pdfextract.vcproj new file mode 100644 index 00000000..7d934bb9 --- /dev/null +++ b/win32/pdfextract.vcproj @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="pdfextract"
+ ProjectGUID="{BD4473E7-2DBE-4568-A0FC-38EED70182DC}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\apps\pdfextract.c"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/win32/pdfshow.vcproj b/win32/pdfshow.vcproj new file mode 100644 index 00000000..aa43ed46 --- /dev/null +++ b/win32/pdfshow.vcproj @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="pdfshow"
+ ProjectGUID="{50644121-C85F-4EE9-9C54-F7D1BDFAE354}"
+ RootNamespace="mupdf"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
+ ConfigurationType="1"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\fitz;..\mupdf"
+ RuntimeLibrary="0"
+ EnableFunctionLevelLinking="true"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ GenerateDebugInformation="true"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\apps\pdfshow.c"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|