]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/projects/visualc71/libpng.vcproj
Don't auto-link with 3rd party libraries in DLL build using MSVC.
[wxWidgets.git] / src / png / projects / visualc71 / libpng.vcproj
index e08346b7635de4483adcaf5ff5cdd66658d2cf40..e17f4f7a8dc43a9ae30782a8a4dae187a4a96155 100644 (file)
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                InlineFunctionExpansion="1"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib"\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib"\r
                                PreprocessorDefinitions="WIN32;NDEBUG;PNG_BUILD_DLL;ZLIB_DLL;_CRT_SECURE_NO_WARNINGS"\r
                                StringPooling="TRUE"\r
                                RuntimeLibrary="2"\r
                                EnableFunctionLevelLinking="TRUE"\r
                                UsePrecompiledHeader="3"\r
-                               PrecompiledHeaderThrough="png.h"\r
+                               PrecompiledHeaderThrough="pngpriv.h"\r
                                WarningLevel="3"\r
                                CompileAs="0"/>\r
                        <Tool\r
                                Name="VCCustomBuildTool"/>\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)/libpng14.dll"\r
-                               LinkIncremental="1"\r
-                               ModuleDefinitionFile="..\..\scripts\pngwin.def"/>\r
+                               OutputFile="$(OutDir)/libpng15.dll"\r
+                               LinkIncremental="1"/>\r
                        <Tool\r
                                Name="VCMIDLTool"/>\r
                        <Tool\r
                                Name="VCPostBuildEventTool"/>\r
                        <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="copy ..\..\scripts\pnglibconf.h.prebuilt ..\..\pnglibconf.h"/>\r
                        <Tool\r
                                Name="VCPreLinkEventTool"/>\r
                        <Tool\r
                                Name="VCResourceCompilerTool"\r
                                PreprocessorDefinitions="NDEBUG"\r
                                Culture="1033"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib;$(IntDir)"/>\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib;$(IntDir)"/>\r
                        <Tool\r
                                Name="VCWebServiceProxyGeneratorTool"/>\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                Optimization="0"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib"\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib"\r
                                PreprocessorDefinitions="WIN32;_DEBUG;DEBUG;PNG_DEBUG=1;PNG_BUILD_DLL;ZLIB_DLL;_CRT_SECURE_NO_WARNINGS"\r
                                BasicRuntimeChecks="3"\r
                                RuntimeLibrary="3"\r
                                UsePrecompiledHeader="3"\r
-                               PrecompiledHeaderThrough="png.h"\r
+                               PrecompiledHeaderThrough="pngpriv.h"\r
                                WarningLevel="3"\r
                                DebugInformationFormat="4"\r
                                CompileAs="0"/>\r
                                Name="VCCustomBuildTool"/>\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)/libpng14d.dll"\r
-                               ModuleDefinitionFile="..\..\scripts\pngwin.def"\r
+                               OutputFile="$(OutDir)/libpng15d.dll"\r
                                GenerateDebugInformation="TRUE"/>\r
                        <Tool\r
                                Name="VCMIDLTool"/>\r
                        <Tool\r
                                Name="VCPostBuildEventTool"/>\r
                        <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="copy ..\..\scripts\pnglibconf.h.prebuilt ..\..\pnglibconf.h"/>\r
                        <Tool\r
                                Name="VCPreLinkEventTool"/>\r
                        <Tool\r
                                Name="VCResourceCompilerTool"\r
                                PreprocessorDefinitions="_DEBUG,PNG_DEBUG=1"\r
                                Culture="1033"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib;$(IntDir)"/>\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib;$(IntDir)"/>\r
                        <Tool\r
                                Name="VCWebServiceProxyGeneratorTool"/>\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                InlineFunctionExpansion="1"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib"\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib"\r
                                PreprocessorDefinitions="WIN32;NDEBUG;PNG_BUILD_DLL;ZLIB_DLL;PNGAPI=__stdcall;PNG_NO_MODULEDEF;PNG_LIBPNG_SPECIALBUILD;PNG_USER_PRIVATEBUILD;_CRT_SECURE_NO_WARNINGS"\r
                                StringPooling="TRUE"\r
                                RuntimeLibrary="2"\r
                                EnableFunctionLevelLinking="TRUE"\r
                                UsePrecompiledHeader="3"\r
-                               PrecompiledHeaderThrough="png.h"\r
+                               PrecompiledHeaderThrough="pngpriv.h"\r
                                WarningLevel="3"\r
                                CompileAs="0"/>\r
                        <Tool\r
                                Name="VCCustomBuildTool"/>\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)/libpng14vb.dll"\r
+                               OutputFile="$(OutDir)/libpng15vb.dll"\r
                                LinkIncremental="1"/>\r
                        <Tool\r
                                Name="VCMIDLTool"/>\r
                        <Tool\r
                                Name="VCPostBuildEventTool"/>\r
                        <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="copy ..\..\scripts\pnglibconf.h.prebuilt ..\..\pnglibconf.h"/>\r
                        <Tool\r
                                Name="VCPreLinkEventTool"/>\r
                        <Tool\r
                                AdditionalOptions="/d PNG_NO_PEDANTIC_WARNINGS /d PNG_LIBPNG_DLLFNAME_POSTFIX=&quot;&quot;&quot;&quot;VB&quot;&quot;&quot;&quot; /d PNG_LIBPNG_SPECIALBUILD=&quot;&quot;&quot;&quot;__stdcall calling convention used for exported functions&quot;&quot;&quot;&quot;"\r
                                PreprocessorDefinitions="NDEBUG"\r
                                Culture="1033"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib;$(IntDir)"/>\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib;$(IntDir)"/>\r
                        <Tool\r
                                Name="VCWebServiceProxyGeneratorTool"/>\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                InlineFunctionExpansion="1"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib"\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib"\r
                                PreprocessorDefinitions="WIN32;NDEBUG;_CRT_SECURE_NO_WARNINGS"\r
                                StringPooling="TRUE"\r
                                RuntimeLibrary="0"\r
                                EnableFunctionLevelLinking="TRUE"\r
                                UsePrecompiledHeader="3"\r
-                               PrecompiledHeaderThrough="png.h"\r
+                               PrecompiledHeaderThrough="pngpriv.h"\r
                                WarningLevel="3"\r
                                CompileAs="0"/>\r
                        <Tool\r
                        <Tool\r
                                Name="VCPostBuildEventTool"/>\r
                        <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="copy ..\..\scripts\pnglibconf.h.prebuilt ..\..\pnglibconf.h"/>\r
                        <Tool\r
                                Name="VCPreLinkEventTool"/>\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                Optimization="0"\r
-                               AdditionalIncludeDirectories="..\..;..\..\scripts;..\..\..\zlib"\r
+                               AdditionalIncludeDirectories="..\..;..\..\..\zlib"\r
                                PreprocessorDefinitions="WIN32;_DEBUG;DEBUG;PNG_DEBUG=1;_CRT_SECURE_NO_WARNINGS"\r
                                BasicRuntimeChecks="3"\r
                                RuntimeLibrary="1"\r
                                UsePrecompiledHeader="3"\r
-                               PrecompiledHeaderThrough="png.h"\r
+                               PrecompiledHeaderThrough="pngpriv.h"\r
                                WarningLevel="3"\r
                                DebugInformationFormat="4"\r
                                CompileAs="0"/>\r
                        <Tool\r
                                Name="VCPostBuildEventTool"/>\r
                        <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="copy ..\..\scripts\pnglibconf.h.prebuilt ..\..\pnglibconf.h"/>\r
                        <Tool\r
                                Name="VCPreLinkEventTool"/>\r
                        <Tool\r
                        <File\r
                                RelativePath="..\..\pngtrans.c">\r
                        </File>\r
-                       <File\r
-                               RelativePath="..\..\scripts\pngwin.def">\r
-                               <FileConfiguration\r
-                                       Name="DLL VB|Win32"\r
-                                       ExcludedFromBuild="TRUE">\r
-                                       <Tool\r
-                                               Name="VCCustomBuildTool"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="LIB Release|Win32"\r
-                                       ExcludedFromBuild="TRUE">\r
-                                       <Tool\r
-                                               Name="VCCustomBuildTool"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="LIB Debug|Win32"\r
-                                       ExcludedFromBuild="TRUE">\r
-                                       <Tool\r
-                                               Name="VCCustomBuildTool"/>\r
-                               </FileConfiguration>\r
-                       </File>\r
                        <File\r
                                RelativePath="..\..\pngwio.c">\r
                        </File>\r