/ installer / PowerToysSetupVNext / SilentFilesInUseBA / SilentFilesInUseBAFunction.vcxproj
SilentFilesInUseBAFunction.vcxproj
  1  <?xml version="1.0" encoding="utf-8"?>
  2  <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
  3  
  4  <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  5    <ItemGroup Label="ProjectConfigurations">
  6      <ProjectConfiguration Include="Debug|ARM64">
  7        <Configuration>Debug</Configuration>
  8        <Platform>ARM64</Platform>
  9      </ProjectConfiguration>
 10      <ProjectConfiguration Include="Release|ARM64">
 11        <Configuration>Release</Configuration>
 12        <Platform>ARM64</Platform>
 13      </ProjectConfiguration>
 14      <ProjectConfiguration Include="Debug|x64">
 15        <Configuration>Debug</Configuration>
 16        <Platform>x64</Platform>
 17      </ProjectConfiguration>
 18      <ProjectConfiguration Include="Release|x64">
 19        <Configuration>Release</Configuration>
 20        <Platform>x64</Platform>
 21      </ProjectConfiguration>
 22    </ItemGroup>
 23  
 24    <PropertyGroup Label="Globals">
 25      <ProjectGuid>{F8B9F842-F5C3-4A2D-8C85-7F8B9E2B4F1D}</ProjectGuid>
 26      <ConfigurationType>DynamicLibrary</ConfigurationType>
 27      <CharacterSet>Unicode</CharacterSet>
 28      <TargetName>SilentFilesInUseBAFunction</TargetName>
 29      <ProjectName>PowerToysSetupCustomActionsVNext</ProjectName>
 30      <ProjectModuleDefinitionFile>bafunctions.def</ProjectModuleDefinitionFile>
 31      <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
 32    </PropertyGroup>
 33  
 34    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 35    
 36    <!-- Configuration-specific property groups -->
 37    <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
 38      <ConfigurationType>DynamicLibrary</ConfigurationType>
 39      <UseDebugLibraries>true</UseDebugLibraries>
 40      
 41      <CharacterSet>Unicode</CharacterSet>
 42    </PropertyGroup>
 43    
 44    <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
 45      <ConfigurationType>DynamicLibrary</ConfigurationType>
 46      <UseDebugLibraries>false</UseDebugLibraries>
 47      
 48      <WholeProgramOptimization>true</WholeProgramOptimization>
 49      <CharacterSet>Unicode</CharacterSet>
 50    </PropertyGroup>
 51  
 52    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 53  
 54    <PropertyGroup>
 55      <ProjectAdditionalLinkLibraries>comctl32.lib;gdiplus.lib;msimg32.lib;shlwapi.lib;wininet.lib;version.lib</ProjectAdditionalLinkLibraries>
 56    </PropertyGroup>
 57    <ItemGroup>
 58      <ProjectCapability Include="PackageReferences" />
 59    </ItemGroup>
 60    <PropertyGroup>
 61      <NuGetTargetMoniker Condition="'$(NuGetTargetMoniker)' == ''">
 62        native,Version=v0.0
 63      </NuGetTargetMoniker>
 64      <RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
 65    </PropertyGroup>
 66  
 67    <ItemGroup>
 68      <ClCompile Include="SilentFilesInUseBAFunctions.cpp" />
 69      <ClCompile Include="bafunctions.cpp">
 70        <PrecompiledHeader>Create</PrecompiledHeader>
 71      </ClCompile>
 72    </ItemGroup>
 73    <ItemGroup>
 74      <ClInclude Include="pch.h" />
 75      <ClInclude Include="resource.h" />
 76    </ItemGroup>
 77    <ItemGroup>
 78      <None Include="bafunctions.def" />
 79      <None Include="Readme.txt" />
 80    </ItemGroup>
 81  
 82    <ItemGroup>
 83      <PackageReference Include="WixToolset.BootstrapperApplicationApi" />
 84      <PackageReference Include="WixToolset.WixStandardBootstrapperApplicationFunctionApi" />
 85    </ItemGroup>
 86  
 87    <ItemDefinitionGroup>
 88      <Link>
 89        <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
 90        <ModuleDefinitionFile>bafunctions.def</ModuleDefinitionFile>
 91      </Link>
 92    </ItemDefinitionGroup>
 93  
 94    <!-- C++ source compile-specific things for Debug/Release configurations -->
 95    <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
 96      <ClCompile>
 97        <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 98        <Optimization>Disabled</Optimization>
 99        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
100      </ClCompile>
101      <Link>
102        <GenerateDebugInformation>true</GenerateDebugInformation>
103      </Link>
104    </ItemDefinitionGroup>
105    <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
106      <ClCompile>
107        <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108        <Optimization>MaxSpeed</Optimization>
109        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
110        <FunctionLevelLinking>true</FunctionLevelLinking>
111        <IntrinsicFunctions>true</IntrinsicFunctions>
112      </ClCompile>
113      <Link>
114        <GenerateDebugInformation>true</GenerateDebugInformation>
115        <EnableCOMDATFolding>true</EnableCOMDATFolding>
116        <OptimizeReferences>true</OptimizeReferences>
117      </Link>
118    </ItemDefinitionGroup>
119  
120    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
121  </Project>