FileLocksmithCLIUnitTests.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 4 <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" /> 5 <PropertyGroup Label="Globals"> 6 <ProjectGuid>{A1B2C3D4-E5F6-7890-1234-567890ABCDEF}</ProjectGuid> 7 <Keyword>Win32Proj</Keyword> 8 <RootNamespace>FileLocksmithCLIUnitTests</RootNamespace> 9 <ProjectName>FileLocksmithCLI.UnitTests</ProjectName> 10 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> 11 </PropertyGroup> 12 <Import Project="$(RepoRoot)deps\spdlog.props" /> 13 <PropertyGroup Label="Configuration"> 14 <ConfigurationType>DynamicLibrary</ConfigurationType> 15 <CharacterSet>Unicode</CharacterSet> 16 </PropertyGroup> 17 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 18 <ImportGroup Label="ExtensionSettings"> 19 </ImportGroup> 20 <ImportGroup Label="Shared"> 21 </ImportGroup> 22 <ImportGroup Label="PropertySheets"> 23 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 24 </ImportGroup> 25 <PropertyGroup Label="UserMacros" /> 26 <PropertyGroup> 27 <OutDir>$(RepoRoot)$(Platform)\$(Configuration)\tests\FileLocksmithCLI\</OutDir> 28 </PropertyGroup> 29 <ItemDefinitionGroup> 30 <ClCompile> 31 <AdditionalIncludeDirectories>..\;..\..\;$(RepoRoot)src\;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 32 <PreprocessorDefinitions>WIN32;UNIT_TEST;%(PreprocessorDefinitions)</PreprocessorDefinitions> 33 <UseFullPaths>true</UseFullPaths> 34 <PrecompiledHeader>Use</PrecompiledHeader> 35 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 36 <DisableSpecificWarnings>26466;%(DisableSpecificWarnings)</DisableSpecificWarnings> 37 </ClCompile> 38 <Link> 39 <AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 40 <AdditionalDependencies>shlwapi.lib;ntdll.lib;%(AdditionalDependencies)</AdditionalDependencies> 41 </Link> 42 </ItemDefinitionGroup> 43 <ItemGroup> 44 <ClInclude Include="pch.h" /> 45 </ItemGroup> 46 <ItemGroup> 47 <ClCompile Include="pch.cpp"> 48 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 49 </ClCompile> 50 <ClCompile Include="FileLocksmithCLITests.cpp" /> 51 <ClCompile Include="..\CLILogic.cpp"> 52 <PrecompiledHeader>NotUsing</PrecompiledHeader> 53 </ClCompile> 54 </ItemGroup> 55 <ItemGroup> 56 <ProjectReference Include="..\..\FileLocksmithLib\FileLocksmithLib.vcxproj"> 57 <Project>{9d52fd25-ef90-4f9a-a015-91efc5daf54f}</Project> 58 </ProjectReference> 59 <ProjectReference Include="$(RepoRoot)src\common\logger\logger.vcxproj"> 60 <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project> 61 </ProjectReference> 62 <ProjectReference Include="$(RepoRoot)src\common\SettingsAPI\SettingsAPI.vcxproj"> 63 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 64 </ProjectReference> 65 <ProjectReference Include="$(RepoRoot)src\common\version\version.vcxproj"> 66 <Project>{1248566c-272a-43c0-88d6-e6675d569a09}</Project> 67 </ProjectReference> 68 </ItemGroup> 69 <ItemGroup> 70 <None Include="packages.config" /> 71 </ItemGroup> 72 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 73 <ImportGroup Label="ExtensionTargets"> 74 <Import Project="$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" /> 75 </ImportGroup> 76 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 77 <PropertyGroup> 78 <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> 79 </PropertyGroup> 80 <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" /> 81 <Error Condition="!Exists('$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(RepoRoot)packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" /> 82 </Target> 83 </Project>