Added support for VS2022 Update-10.
[MUtilities.git] / MUtilities_VS2022.vcxproj
blobfe8b2fe67d09dba67de49fdd4b0eff701fbda734
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup Label="ProjectConfigurations">
4     <ProjectConfiguration Include="Debug|Win32">
5       <Configuration>Debug</Configuration>
6       <Platform>Win32</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Release_Static|Win32">
9       <Configuration>Release_Static</Configuration>
10       <Platform>Win32</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Release|Win32">
13       <Configuration>Release</Configuration>
14       <Platform>Win32</Platform>
15     </ProjectConfiguration>
16   </ItemGroup>
17   <ItemGroup>
18     <ClCompile Include="$(SolutionDir)\tmp\$(ProjectName)\QRC_MUtilsData.cpp" />
19     <ClCompile Include="$(SolutionDir)\tmp\$(ProjectName)\MOC_UpdateChecker.cpp" />
20     <ClCompile Include="src\3rd_party\adler32\src\adler32.cpp" />
21     <ClCompile Include="src\3rd_party\blake2\src\blake2.cpp" />
22     <ClCompile Include="src\3rd_party\strnatcmp\src\strnatcmp.cpp" />
23     <ClCompile Include="src\CPUFeatures_Win32.cpp" />
24     <ClCompile Include="src\DLLMain.cpp" />
25     <ClCompile Include="src\ErrorHandler_Win32.cpp" />
26     <ClCompile Include="src\Global.cpp" />
27     <ClCompile Include="src\GUI.cpp" />
28     <ClCompile Include="src\GUI_Win32.cpp" />
29     <ClCompile Include="src\Hash.cpp" />
30     <ClCompile Include="src\Hash_Blake2.cpp" />
31     <ClCompile Include="src\IPCChannel.cpp" />
32     <ClCompile Include="src\JobObject_Win32.cpp" />
33     <ClCompile Include="src\Hash_Keccak.cpp" />
34     <ClCompile Include="src\OSSupport_Win32.cpp" />
35     <ClCompile Include="src\Registry_Win32.cpp" />
36     <ClCompile Include="src\Sound_Win32.cpp" />
37     <ClCompile Include="src\Startup.cpp" />
38     <ClCompile Include="src\Taskbar7_Win32.cpp" />
39     <ClCompile Include="src\Terminal_Win32.cpp" />
40     <ClCompile Include="src\Translation.cpp" />
41     <ClCompile Include="src\UpdateChecker.cpp" />
42     <ClCompile Include="src\Utils_Win32.cpp" />
43     <ClCompile Include="src\Version.cpp" />
44   </ItemGroup>
45   <ItemGroup>
46     <ClInclude Include="include\MUtils\CPUFeatures.h" />
47     <ClInclude Include="include\MUtils\ErrorHandler.h" />
48     <ClInclude Include="include\MUtils\Exception.h" />
49     <ClInclude Include="include\MUtils\Global.h" />
50     <ClInclude Include="include\MUtils\GUI.h" />
51     <ClInclude Include="include\MUtils\Hash.h" />
52     <ClInclude Include="include\MUtils\IPCChannel.h" />
53     <ClInclude Include="include\MUtils\JobObject.h" />
54     <ClInclude Include="include\MUtils\Lazy.h" />
55     <ClInclude Include="include\MUtils\OSSupport.h" />
56     <ClInclude Include="include\MUtils\Registry.h" />
57     <ClInclude Include="include\MUtils\Sound.h" />
58     <ClInclude Include="include\MUtils\Startup.h" />
59     <ClInclude Include="include\MUtils\Taskbar7.h" />
60     <ClInclude Include="include\MUtils\Terminal.h" />
61     <ClInclude Include="include\MUtils\Translation.h" />
62     <ClInclude Include="src\3rd_party\adler32\include\adler32.h" />
63     <ClInclude Include="src\3rd_party\blake2\include\blake2.h" />
64     <ClInclude Include="src\3rd_party\keccak\include\keccak_impl.h" />
65     <ClInclude Include="src\3rd_party\strnatcmp\include\strnatcmp.h" />
66     <ClInclude Include="src\DirLocker.h" />
67     <ClInclude Include="src\Internal.h" />
68     <ClInclude Include="src\Mirrors.h" />
69     <ClInclude Include="src\Utils_Win32.h" />
70     <CustomBuild Include="include\Mutils\UpdateChecker.h">
71       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp" "%(FullPath)"</Command>
72       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MOC "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp"</Message>
73       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp;%(Outputs)</Outputs>
74       <Command Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">"$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp" "%(FullPath)"</Command>
75       <Message Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">MOC "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp"</Message>
76       <Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp;%(Outputs)</Outputs>
77       <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp" "%(FullPath)"</Command>
78       <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MOC "$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp"</Message>
79       <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)tmp\$(ProjectName)\MOC_%(Filename).cpp;%(Outputs)</Outputs>
80     </CustomBuild>
81     <ClInclude Include="include\MUtils\Version.h" />
82     <ClInclude Include="src\CriticalSection_Win32.h" />
83   </ItemGroup>
84   <ItemGroup>
85     <CustomBuild Include="res\MUtilsData.qrc">
86       <FileType>Document</FileType>
87       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)"</Command>
88       <Command Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">"$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)"</Command>
89       <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)"</Command>
90       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp"</Message>
91       <Message Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp"</Message>
92       <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">RCC "$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp"</Message>
93       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs)</Outputs>
94       <Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs)</Outputs>
95       <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)tmp\$(ProjectName)\QRC_%(Filename).cpp;%(Outputs)</Outputs>
96     </CustomBuild>
97   </ItemGroup>
98   <ItemGroup>
99     <ResourceCompile Include="MUtilities.rc">
100       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">true</ExcludedFromBuild>
101     </ResourceCompile>
102   </ItemGroup>
103   <PropertyGroup Label="Globals">
104     <ProjectGuid>{55405FE1-149F-434C-9D72-4B64348D2A08}</ProjectGuid>
105     <Keyword>Win32Proj</Keyword>
106     <RootNamespace>MUtilities</RootNamespace>
107     <ProjectName>MUtilities</ProjectName>
108     <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
109   </PropertyGroup>
110   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
111   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
112     <ConfigurationType>DynamicLibrary</ConfigurationType>
113     <UseDebugLibraries>true</UseDebugLibraries>
114     <PlatformToolset>v143</PlatformToolset>
115     <CharacterSet>Unicode</CharacterSet>
116   </PropertyGroup>
117   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
118     <ConfigurationType>DynamicLibrary</ConfigurationType>
119     <UseDebugLibraries>false</UseDebugLibraries>
120     <PlatformToolset>v143</PlatformToolset>
121     <WholeProgramOptimization>true</WholeProgramOptimization>
122     <CharacterSet>Unicode</CharacterSet>
123   </PropertyGroup>
124   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'" Label="Configuration">
125     <ConfigurationType>StaticLibrary</ConfigurationType>
126     <UseDebugLibraries>false</UseDebugLibraries>
127     <PlatformToolset>v143</PlatformToolset>
128     <WholeProgramOptimization>true</WholeProgramOptimization>
129     <CharacterSet>Unicode</CharacterSet>
130   </PropertyGroup>
131   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
132   <ImportGroup Label="ExtensionSettings">
133   </ImportGroup>
134   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
135     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
136   </ImportGroup>
137   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
138     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
139   </ImportGroup>
140   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'" Label="PropertySheets">
141     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
142   </ImportGroup>
143   <PropertyGroup Label="UserMacros" />
144   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
145     <OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
146     <IntDir>$(SolutionDir)\obj\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
147     <TargetName>MUtils32-1</TargetName>
148   </PropertyGroup>
149   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
150     <OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
151     <IntDir>$(SolutionDir)\obj\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
152     <TargetName>MUtils32-1</TargetName>
153   </PropertyGroup>
154   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">
155     <OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
156     <IntDir>$(SolutionDir)\obj\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
157     <TargetName>MUtils32-1</TargetName>
158   </PropertyGroup>
159   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
160     <ClCompile>
161       <PrecompiledHeader>NotUsing</PrecompiledHeader>
162       <WarningLevel>Level4</WarningLevel>
163       <Optimization>Disabled</Optimization>
164       <PreprocessorDefinitions>WIN32;MUTILS_DLL_EXPORT;_DEBUG;_LIB;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;QT_DLL;QT_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
165       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
166       <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
167       <AdditionalIncludeDirectories>$(ProjectDir)\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
168       <TreatWarningAsError>true</TreatWarningAsError>
169       <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
170       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
171       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
172     </ClCompile>
173     <Link>
174       <SubSystem>Windows</SubSystem>
175       <GenerateDebugInformation>true</GenerateDebugInformation>
176       <AdditionalLibraryDirectories>$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Debug\lib;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32</AdditionalLibraryDirectories>
177       <AdditionalDependencies>QtCored4.lib;QtGuid4.lib;Winmm.lib;Psapi.lib;Sensapi.lib;PowrProf.lib;Shlwapi.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
178     </Link>
179   </ItemDefinitionGroup>
180   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
181     <ClCompile>
182       <WarningLevel>Level4</WarningLevel>
183       <PrecompiledHeader>NotUsing</PrecompiledHeader>
184       <Optimization>Full</Optimization>
185       <FunctionLevelLinking>true</FunctionLevelLinking>
186       <IntrinsicFunctions>true</IntrinsicFunctions>
187       <PreprocessorDefinitions>WIN32;MUTILS_DLL_EXPORT;NDEBUG;_LIB;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;QT_DLL;QT_NO_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
188       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
189       <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
190       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
191       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
192       <OmitFramePointers>true</OmitFramePointers>
193       <BufferSecurityCheck>false</BufferSecurityCheck>
194       <FloatingPointModel>Fast</FloatingPointModel>
195       <CreateHotpatchableImage>false</CreateHotpatchableImage>
196       <AdditionalIncludeDirectories>$(ProjectDir)\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
197       <TreatWarningAsError>true</TreatWarningAsError>
198       <CompileAsManaged>false</CompileAsManaged>
199       <MinimalRebuild>false</MinimalRebuild>
200       <ControlFlowGuard>false</ControlFlowGuard>
201       <WholeProgramOptimization>true</WholeProgramOptimization>
202       <DisableSpecificWarnings>4714;4324;4127</DisableSpecificWarnings>
203     </ClCompile>
204     <Link>
205       <SubSystem>Windows</SubSystem>
206       <EnableCOMDATFolding>true</EnableCOMDATFolding>
207       <OptimizeReferences>true</OptimizeReferences>
208       <AdditionalLibraryDirectories>$(SolutionDir)\..\Prerequisites\Qt4\$(PlatformToolset)\Shared\lib;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32</AdditionalLibraryDirectories>
209       <AdditionalDependencies>notelemetry.obj;QtCore4.lib;QtGui4.lib;Winmm.lib;Psapi.lib;Sensapi.lib;PowrProf.lib;Shlwapi.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
210       <GenerateDebugInformation>false</GenerateDebugInformation>
211       <ShowProgress>LinkVerboseLib</ShowProgress>
212     </Link>
213   </ItemDefinitionGroup>
214   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Static|Win32'">
215     <ClCompile>
216       <WarningLevel>Level4</WarningLevel>
217       <PrecompiledHeader>NotUsing</PrecompiledHeader>
218       <Optimization>Full</Optimization>
219       <FunctionLevelLinking>true</FunctionLevelLinking>
220       <IntrinsicFunctions>true</IntrinsicFunctions>
221       <PreprocessorDefinitions>WIN32;MUTILS_STATIC_LIB;NDEBUG;_LIB;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;QT_NODLL;QT_NO_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
222       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
223       <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
224       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
225       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
226       <OmitFramePointers>true</OmitFramePointers>
227       <BufferSecurityCheck>false</BufferSecurityCheck>
228       <FloatingPointModel>Fast</FloatingPointModel>
229       <CreateHotpatchableImage>false</CreateHotpatchableImage>
230       <AdditionalIncludeDirectories>$(ProjectDir)\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
231       <TreatWarningAsError>true</TreatWarningAsError>
232       <CompileAsManaged>false</CompileAsManaged>
233       <MinimalRebuild>false</MinimalRebuild>
234       <ControlFlowGuard>false</ControlFlowGuard>
235       <WholeProgramOptimization>true</WholeProgramOptimization>
236       <DisableSpecificWarnings>4714;4324;4127</DisableSpecificWarnings>
237     </ClCompile>
238     <Link>
239       <SubSystem>Windows</SubSystem>
240       <GenerateDebugInformation>true</GenerateDebugInformation>
241       <EnableCOMDATFolding>true</EnableCOMDATFolding>
242       <OptimizeReferences>true</OptimizeReferences>
243     </Link>
244   </ItemDefinitionGroup>
245   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
246   <ImportGroup Label="ExtensionTargets">
247   </ImportGroup>
248 </Project>