From 08de3aa3254690425607ceb859d808f7d0852a84 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 9 Jan 2017 16:53:21 +0100 Subject: Remove preprocessor defines from vcproj. Keeping them up to date is difficult and prone to errors, so we move setting the USE_OUTPUT_DEBUG_STRING and FZ_LARGEFILE flags to the source instead of relying on project file definitions. --- platform/win32/generated.vcproj | 2 +- platform/win32/javaviewer.vcproj | 4 ++-- platform/win32/javaviewerlib.vcproj | 8 ++++---- platform/win32/libglfw.vcproj | 12 ++++++------ platform/win32/libluratech.vcproj | 24 +++++++++++------------ platform/win32/libmupdf.vcproj | 38 +++++++++++++++++++++--------------- platform/win32/libmuthreads.vcproj | 24 +++++++++++------------ platform/win32/libthirdparty.vcproj | 20 +++++++++---------- platform/win32/mu-office-lib.vcproj | 24 +++++++++++------------ platform/win32/mu-office-test.vcproj | 28 +++++++++++++------------- platform/win32/mudraw.vcproj | 28 +++++++++++++------------- platform/win32/mujstest.vcproj | 24 +++++++++++------------ platform/win32/mupdf-curl.vcproj | 32 +++++++++++++++--------------- platform/win32/mupdf-gl.vcproj | 24 +++++++++++------------ platform/win32/mupdf.vcproj | 36 +++++++++++++++++----------------- platform/win32/muraster.vcproj | 24 +++++++++++------------ platform/win32/mutool.vcproj | 28 +++++++++++++------------- 17 files changed, 193 insertions(+), 187 deletions(-) (limited to 'platform') diff --git a/platform/win32/generated.vcproj b/platform/win32/generated.vcproj index dffefdd5..9ef71954 100644 --- a/platform/win32/generated.vcproj +++ b/platform/win32/generated.vcproj @@ -27,7 +27,7 @@ ReBuildCommandLine="del /q ..\..\generated ..\..\include\mupdf\pdf\name-table.h ..\..\source\pdf\pdf-name-table.h && generate.bat" CleanCommandLine="del /q ..\..\generated ..\..\include\mupdf\pdf\name-table.h ..\..\source\pdf\pdf-name-table.h" Output="" - PreprocessorDefinitions="WIN32;_DEBUG;USE_OUTPUT_DEBUG_STRING" + PreprocessorDefinitions="WIN32;_DEBUG" IncludeSearchPath="" ForcedIncludes="" AssemblySearchPath="" diff --git a/platform/win32/javaviewer.vcproj b/platform/win32/javaviewer.vcproj index 440039b5..5561a4b7 100644 --- a/platform/win32/javaviewer.vcproj +++ b/platform/win32/javaviewer.vcproj @@ -50,7 +50,7 @@ ReBuildCommandLine="cd ..\java && winmake.bat $(PlatformName)\$(ConfigurationName)" CleanCommandLine="" Output="javaviewer.jar" - PreprocessorDefinitions="WIN32;_DEBUG" + PreprocessorDefinitions="WIN64;_DEBUG" IncludeSearchPath="" ForcedIncludes="" AssemblySearchPath="" @@ -90,7 +90,7 @@ ReBuildCommandLine="cd ..\java && winmake.bat $(PlatformName)\$(ConfigurationName)" CleanCommandLine="" Output="javaviewer.exe" - PreprocessorDefinitions="WIN32;NDEBUG" + PreprocessorDefinitions="WIN64;NDEBUG" IncludeSearchPath="" ForcedIncludes="" AssemblySearchPath="" diff --git a/platform/win32/javaviewerlib.vcproj b/platform/win32/javaviewerlib.vcproj index 4a829c27..be1aa5ba 100644 --- a/platform/win32/javaviewerlib.vcproj +++ b/platform/win32/javaviewerlib.vcproj @@ -44,7 +44,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../include;$(JAVA_HOME)/include;$(JAVA_HOME)/include/win32" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JAVAVIEWERLIB_EXPORTS" + PreprocessorDefinitions="WIN32;_DEBUG" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -122,7 +122,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../include;$(JAVA_HOME)/include;$(JAVA_HOME)/include/win32" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JAVAVIEWERLIB_EXPORTS" + PreprocessorDefinitions="WIN64;_DEBUG" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -199,7 +199,7 @@