mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
107 lines
7.3 KiB
XML
107 lines
7.3 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
|
<Import Project="..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" />
|
||
|
|
<PropertyGroup Label="Globals">
|
||
|
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||
|
|
<Keyword>Win32Proj</Keyword>
|
||
|
|
<ProjectGuid>{2694e2fb-dcd5-4bff-a418-b6c3c7ce3b8e}</ProjectGuid>
|
||
|
|
<RootNamespace>Test</RootNamespace>
|
||
|
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
|
||
|
|
<ProjectName>PowerRename.FuzzingTest</ProjectName>
|
||
|
|
</PropertyGroup>
|
||
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||
|
|
<PropertyGroup Label="Configuration">
|
||
|
|
<ConfigurationType>Application</ConfigurationType>
|
||
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||
|
|
<PlatformToolset>v143</PlatformToolset>
|
||
|
|
<CharacterSet>Unicode</CharacterSet>
|
||
|
|
</PropertyGroup>
|
||
|
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||
|
|
<EnableASAN>true</EnableASAN>
|
||
|
|
<EnableFuzzer>true</EnableFuzzer>
|
||
|
|
</PropertyGroup>
|
||
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||
|
|
<ImportGroup Label="ExtensionSettings">
|
||
|
|
</ImportGroup>
|
||
|
|
<ImportGroup Label="Shared">
|
||
|
|
</ImportGroup>
|
||
|
|
<ImportGroup Label="PropertySheets">
|
||
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||
|
|
</ImportGroup>
|
||
|
|
<PropertyGroup Label="UserMacros" />
|
||
|
|
<PropertyGroup>
|
||
|
|
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(VCToolsInstallDir)\lib\$(Platform)</LibraryPath>
|
||
|
|
<OutDir>..\..\..\..\$(Platform)\$(Configuration)\tests\PowerRename.FuzzTests\</OutDir>
|
||
|
|
</PropertyGroup>
|
||
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||
|
|
<ClCompile>
|
||
|
|
<WarningLevel>Level3</WarningLevel>
|
||
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||
|
|
<SDLCheck>true</SDLCheck>
|
||
|
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;DISABLE_FOR_FUZZING;%(PreprocessorDefinitions);_DISABLE_VECTOR_ANNOTATION;_DISABLE_STRING_ANNOTATION</PreprocessorDefinitions>
|
||
|
|
<ConformanceMode>true</ConformanceMode>
|
||
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||
|
|
<AdditionalOptions>/fsanitize=address /fsanitize-coverage=inline-8bit-counters /fsanitize-coverage=edge /fsanitize-coverage=trace-cmp /fsanitize-coverage=trace-div %(AdditionalOptions)</AdditionalOptions>
|
||
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||
|
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
||
|
|
<AdditionalIncludeDirectories>..\;..\lib\;..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||
|
|
</ClCompile>
|
||
|
|
<Link>
|
||
|
|
<SubSystem>Console</SubSystem>
|
||
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||
|
|
<OptimizeReferences>true</OptimizeReferences>
|
||
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||
|
|
<AdditionalDependencies>legacy_stdio_definitions.lib;$(VCToolsInstallDir)lib\$(Platform)\libsancov.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||
|
|
</Link>
|
||
|
|
<PostBuildEvent>
|
||
|
|
<Command>xcopy /y "$(VCToolsInstallDir)bin\Hostx64\x64\clang_rt.asan_dynamic-x86_64.dll" "$(OutDir)"</Command>
|
||
|
|
<Message>Copy the required ASan runtime DLL to the output directory.</Message>
|
||
|
|
</PostBuildEvent>
|
||
|
|
</ItemDefinitionGroup>
|
||
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||
|
|
<ClCompile>
|
||
|
|
<WarningLevel>Level3</WarningLevel>
|
||
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||
|
|
<SDLCheck>true</SDLCheck>
|
||
|
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||
|
|
<AdditionalIncludeDirectories>..\;..\lib\;..\..\..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||
|
|
</ClCompile>
|
||
|
|
<Link>
|
||
|
|
<SubSystem>Console</SubSystem>
|
||
|
|
<AdditionalDependencies>$(OutDir)\..\..\WinUI3Apps\PowerRenameLib.lib;comctl32.lib;pathcch.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Pathcch.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||
|
|
</Link>
|
||
|
|
</ItemDefinitionGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<ClCompile Include="PowerRename.FuzzingTest.cpp" />
|
||
|
|
</ItemGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<CopyFileToFolders Include="OneFuzzConfig.json" />
|
||
|
|
</ItemGroup>
|
||
|
|
<ItemGroup>
|
||
|
|
<ProjectReference Include="..\lib\PowerRenameLib.vcxproj" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||
|
|
<Project>{51920f1f-c28c-4adf-8660-4238766796c2}</Project>
|
||
|
|
</ProjectReference>
|
||
|
|
<ProjectReference Include="..\..\..\common\SettingsAPI\SettingsAPI.vcxproj" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||
|
|
<Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
|
||
|
|
</ProjectReference>
|
||
|
|
</ItemGroup>
|
||
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||
|
|
<ImportGroup Label="ExtensionTargets">
|
||
|
|
<Import Project="..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" />
|
||
|
|
<Import Project="..\..\..\..\packages\boost.1.84.0\build\boost.targets" Condition="Exists('..\..\..\..\packages\boost.1.84.0\build\boost.targets')" />
|
||
|
|
<Import Project="..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets" Condition="Exists('..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets')" />
|
||
|
|
</ImportGroup>
|
||
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||
|
|
<PropertyGroup>
|
||
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||
|
|
</PropertyGroup>
|
||
|
|
<Error Condition="!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" />
|
||
|
|
<Error Condition="!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" />
|
||
|
|
<Error Condition="!Exists('..\..\..\..\packages\boost.1.84.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\boost.1.84.0\build\boost.targets'))" />
|
||
|
|
<Error Condition="!Exists('..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\boost_regex-vc143.1.84.0\build\boost_regex-vc143.targets'))" />
|
||
|
|
</Target>
|
||
|
|
</Project>
|