Define _CRT_NONSTDC_NO_WARNINGS for zlib compilation with MSVC.
[wxWidgets.git] / build / msw / wx_vc10_wxpng.vcxproj
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <ItemGroup Label="ProjectConfigurations">\r
4     <ProjectConfiguration Include="Debug|Win32">\r
5       <Configuration>Debug</Configuration>\r
6       <Platform>Win32</Platform>\r
7     </ProjectConfiguration>\r
8     <ProjectConfiguration Include="DLL Debug|Win32">\r
9       <Configuration>DLL Debug</Configuration>\r
10       <Platform>Win32</Platform>\r
11     </ProjectConfiguration>\r
12     <ProjectConfiguration Include="DLL Release|Win32">\r
13       <Configuration>DLL Release</Configuration>\r
14       <Platform>Win32</Platform>\r
15     </ProjectConfiguration>\r
16     <ProjectConfiguration Include="Release|Win32">\r
17       <Configuration>Release</Configuration>\r
18       <Platform>Win32</Platform>\r
19     </ProjectConfiguration>\r
20   </ItemGroup>\r
21   <PropertyGroup Label="Globals">\r
22     <ProjectName>wxpng</ProjectName>\r
23     <ProjectGuid>{8ACC122A-CA6A-5AA6-9C97-9CDD2E533DB0}</ProjectGuid>\r
24   </PropertyGroup>\r
25   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
26   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">\r
27     <ConfigurationType>StaticLibrary</ConfigurationType>\r
28     <UseOfMfc>false</UseOfMfc>\r
29   </PropertyGroup>\r
30   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">\r
31     <ConfigurationType>StaticLibrary</ConfigurationType>\r
32     <UseOfMfc>false</UseOfMfc>\r
33   </PropertyGroup>\r
34   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
35     <ConfigurationType>StaticLibrary</ConfigurationType>\r
36     <UseOfMfc>false</UseOfMfc>\r
37   </PropertyGroup>\r
38   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
39     <ConfigurationType>StaticLibrary</ConfigurationType>\r
40     <UseOfMfc>false</UseOfMfc>\r
41   </PropertyGroup>\r
42   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
43   <ImportGroup Label="ExtensionSettings">\r
44   </ImportGroup>\r
45   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="PropertySheets">\r
46     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
47   </ImportGroup>\r
48   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="PropertySheets">\r
49     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
50   </ImportGroup>\r
51   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">\r
52     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
53   </ImportGroup>\r
54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">\r
55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
56   </ImportGroup>\r
57   <PropertyGroup Label="UserMacros" />\r
58   <PropertyGroup>\r
59     <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>\r
60     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\lib\vc_lib\</OutDir>\r
61     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">vc_mswud\wxpng\</IntDir>\r
62     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\lib\vc_lib\</OutDir>\r
63     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">vc_mswu\wxpng\</IntDir>\r
64     <OutDir Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">..\..\lib\vc_dll\</OutDir>\r
65     <IntDir Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">vc_mswuddll\wxpng\</IntDir>\r
66     <OutDir Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'">..\..\lib\vc_dll\</OutDir>\r
67     <IntDir Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'">vc_mswudll\wxpng\</IntDir>\r
68     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)d</TargetName>\r
69     <TargetName Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">$(ProjectName)d</TargetName>\r
70   </PropertyGroup>\r
71   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
72     <Midl>\r
73       <PreprocessorDefinitions>WIN32;_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
74       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
75     </Midl>\r
76     <ClCompile>\r
77       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>\r
78       <Optimization>Disabled</Optimization>\r
79       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
80       <PreprocessorDefinitions>WIN32;_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
81       <ExceptionHandling>Sync</ExceptionHandling>\r
82       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
83       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
84       <BufferSecurityCheck>true</BufferSecurityCheck>\r
85       <RuntimeTypeInfo>true</RuntimeTypeInfo>\r
86       <ObjectFileName>vc_mswud\wxpng\</ObjectFileName>\r
87       <ProgramDataBaseFileName>$(OutDir)wxpngd.pdb</ProgramDataBaseFileName>\r
88       <WarningLevel>Level3</WarningLevel>\r
89       <SuppressStartupBanner>true</SuppressStartupBanner>\r
90       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
91     </ClCompile>\r
92     <ResourceCompile>\r
93       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
94       <Culture>0x0409</Culture>\r
95       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
96     </ResourceCompile>\r
97     <Lib>\r
98       <OutputFile>$(OutDir)wxpngd.lib</OutputFile>\r
99       <SuppressStartupBanner>true</SuppressStartupBanner>\r
100     </Lib>\r
101     <Bscmake>\r
102       <OutputFile>$(OutDir)wx_vc9_wxpng.bsc</OutputFile>\r
103       <SuppressStartupBanner>true</SuppressStartupBanner>\r
104     </Bscmake>\r
105   </ItemDefinitionGroup>\r
106   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
107     <Midl>\r
108       <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
109       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
110     </Midl>\r
111     <ClCompile>\r
112       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>\r
113       <Optimization>MaxSpeed</Optimization>\r
114       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
115       <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
116       <ExceptionHandling>Sync</ExceptionHandling>\r
117       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
118       <RuntimeTypeInfo>true</RuntimeTypeInfo>\r
119       <ObjectFileName>vc_mswu\wxpng\</ObjectFileName>\r
120       <ProgramDataBaseFileName>$(OutDir)wxpng.pdb</ProgramDataBaseFileName>\r
121       <WarningLevel>Level3</WarningLevel>\r
122       <SuppressStartupBanner>true</SuppressStartupBanner>\r
123       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
124     </ClCompile>\r
125     <ResourceCompile>\r
126       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
127       <Culture>0x0409</Culture>\r
128       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
129     </ResourceCompile>\r
130     <Lib>\r
131       <OutputFile>$(OutDir)wxpng.lib</OutputFile>\r
132       <SuppressStartupBanner>true</SuppressStartupBanner>\r
133     </Lib>\r
134     <Bscmake>\r
135       <OutputFile>$(OutDir)wx_vc9_wxpng.bsc</OutputFile>\r
136       <SuppressStartupBanner>true</SuppressStartupBanner>\r
137     </Bscmake>\r
138   </ItemDefinitionGroup>\r
139   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">\r
140     <Midl>\r
141       <PreprocessorDefinitions>WIN32;_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
142       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
143     </Midl>\r
144     <ClCompile>\r
145       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>\r
146       <Optimization>Disabled</Optimization>\r
147       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
148       <PreprocessorDefinitions>WIN32;_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
149       <ExceptionHandling>Sync</ExceptionHandling>\r
150       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
151       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\r
152       <BufferSecurityCheck>true</BufferSecurityCheck>\r
153       <RuntimeTypeInfo>true</RuntimeTypeInfo>\r
154       <ObjectFileName>vc_mswuddll\wxpng\</ObjectFileName>\r
155       <ProgramDataBaseFileName>$(OutDir)wxpngd.pdb</ProgramDataBaseFileName>\r
156       <WarningLevel>Level3</WarningLevel>\r
157       <SuppressStartupBanner>true</SuppressStartupBanner>\r
158       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
159     </ClCompile>\r
160     <ResourceCompile>\r
161       <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
162       <Culture>0x0409</Culture>\r
163       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
164     </ResourceCompile>\r
165     <Lib>\r
166       <OutputFile>$(OutDir)wxpngd.lib</OutputFile>\r
167       <SuppressStartupBanner>true</SuppressStartupBanner>\r
168     </Lib>\r
169     <Bscmake>\r
170       <OutputFile>$(OutDir)wx_vc9_wxpng.bsc</OutputFile>\r
171       <SuppressStartupBanner>true</SuppressStartupBanner>\r
172     </Bscmake>\r
173   </ItemDefinitionGroup>\r
174   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'">\r
175     <Midl>\r
176       <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
177       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
178     </Midl>\r
179     <ClCompile>\r
180       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>\r
181       <Optimization>MaxSpeed</Optimization>\r
182       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
183       <PreprocessorDefinitions>WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
184       <ExceptionHandling>Sync</ExceptionHandling>\r
185       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\r
186       <RuntimeTypeInfo>true</RuntimeTypeInfo>\r
187       <ObjectFileName>vc_mswudll\wxpng\</ObjectFileName>\r
188       <ProgramDataBaseFileName>$(OutDir)wxpng.pdb</ProgramDataBaseFileName>\r
189       <WarningLevel>Level3</WarningLevel>\r
190       <SuppressStartupBanner>true</SuppressStartupBanner>\r
191       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
192     </ClCompile>\r
193     <ResourceCompile>\r
194       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
195       <Culture>0x0409</Culture>\r
196       <AdditionalIncludeDirectories>..\..\src\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
197     </ResourceCompile>\r
198     <Lib>\r
199       <OutputFile>$(OutDir)wxpng.lib</OutputFile>\r
200       <SuppressStartupBanner>true</SuppressStartupBanner>\r
201     </Lib>\r
202     <Bscmake>\r
203       <OutputFile>$(OutDir)wx_vc9_wxpng.bsc</OutputFile>\r
204       <SuppressStartupBanner>true</SuppressStartupBanner>\r
205     </Bscmake>\r
206   </ItemDefinitionGroup>\r
207   <ItemGroup>\r
208     <ClCompile Include="..\..\src\png\png.c" />\r
209     <ClCompile Include="..\..\src\png\pngerror.c" />\r
210     <ClCompile Include="..\..\src\png\pngget.c" />\r
211     <ClCompile Include="..\..\src\png\pngmem.c" />\r
212     <ClCompile Include="..\..\src\png\pngpread.c" />\r
213     <ClCompile Include="..\..\src\png\pngread.c" />\r
214     <ClCompile Include="..\..\src\png\pngrio.c" />\r
215     <ClCompile Include="..\..\src\png\pngrtran.c" />\r
216     <ClCompile Include="..\..\src\png\pngrutil.c" />\r
217     <ClCompile Include="..\..\src\png\pngset.c" />\r
218     <ClCompile Include="..\..\src\png\pngtrans.c" />\r
219     <ClCompile Include="..\..\src\png\pngwio.c" />\r
220     <ClCompile Include="..\..\src\png\pngwrite.c" />\r
221     <ClCompile Include="..\..\src\png\pngwtran.c" />\r
222     <ClCompile Include="..\..\src\png\pngwutil.c" />\r
223   </ItemGroup>\r
224   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
225   <ImportGroup Label="ExtensionTargets">\r
226   </ImportGroup>\r
227 </Project>