/ src / modules / FileLocksmith / FileLocksmithCLI / FileLocksmithCLI.vcxproj
FileLocksmithCLI.vcxproj
  1  <?xml version="1.0" encoding="utf-8"?>
  2  <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3    <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')" />
  4    <PropertyGroup Label="Globals">
  5      <VCProjectVersion>17.0</VCProjectVersion>
  6      <Keyword>Win32Proj</Keyword>
  7      <ProjectGuid>{49D456D3-F485-45AF-8875-45B44F193DDC}</ProjectGuid>
  8      <RootNamespace>FileLocksmithCLI</RootNamespace>
  9      <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
 10      <ProjectName>FileLocksmithCLI</ProjectName>
 11    </PropertyGroup>
 12    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 13    <Import Project="..\..\..\..\deps\spdlog.props" />
 14    <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
 15      <ConfigurationType>Application</ConfigurationType>
 16      <UseDebugLibraries>true</UseDebugLibraries>
 17      <CharacterSet>Unicode</CharacterSet>
 18    </PropertyGroup>
 19    <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
 20      <ConfigurationType>Application</ConfigurationType>
 21      <UseDebugLibraries>false</UseDebugLibraries>
 22      <CharacterSet>Unicode</CharacterSet>
 23    </PropertyGroup>
 24    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 25    <ImportGroup Label="ExtensionSettings">
 26    </ImportGroup>
 27    <ImportGroup Label="Shared">
 28    </ImportGroup>
 29    <ImportGroup Label="PropertySheets">
 30      <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 31    </ImportGroup>
 32    <PropertyGroup Label="UserMacros" />
 33    <PropertyGroup>
 34      <OutDir>..\..\..\..\$(Platform)\$(Configuration)</OutDir>
 35    </PropertyGroup>
 36    <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
 37      <ClCompile>
 38        <WarningLevel>Level3</WarningLevel>
 39        <SDLCheck>true</SDLCheck>
 40        <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 41        <ConformanceMode>false</ConformanceMode>
 42        <AdditionalIncludeDirectories>$(ProjectDir)..;$(ProjectDir)..\..\..;$(ProjectDir)..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 43        <PrecompiledHeader>Use</PrecompiledHeader>
 44        <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
 45        <RunCodeAnalysis>false</RunCodeAnalysis>
 46      </ClCompile>
 47      <Link>
 48        <SubSystem>Console</SubSystem>
 49        <GenerateDebugInformation>true</GenerateDebugInformation>
 50        <AdditionalDependencies>shlwapi.lib;ntdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
 51      </Link>
 52    </ItemDefinitionGroup>
 53    <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
 54      <ClCompile>
 55        <WarningLevel>Level3</WarningLevel>
 56        <FunctionLevelLinking>true</FunctionLevelLinking>
 57        <IntrinsicFunctions>true</IntrinsicFunctions>
 58        <SDLCheck>true</SDLCheck>
 59        <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 60        <ConformanceMode>false</ConformanceMode>
 61        <AdditionalIncludeDirectories>$(ProjectDir)..;$(ProjectDir)..\..\..;$(ProjectDir)..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 62        <PrecompiledHeader>Use</PrecompiledHeader>
 63        <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
 64        <RunCodeAnalysis>false</RunCodeAnalysis>
 65      </ClCompile>
 66      <Link>
 67        <SubSystem>Console</SubSystem>
 68        <EnableCOMDATFolding>true</EnableCOMDATFolding>
 69        <OptimizeReferences>true</OptimizeReferences>
 70        <GenerateDebugInformation>true</GenerateDebugInformation>
 71        <AdditionalDependencies>shlwapi.lib;ntdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
 72      </Link>
 73    </ItemDefinitionGroup>
 74    <ItemGroup>
 75      <ClCompile Include="CLILogic.cpp" />
 76      <ClCompile Include="main.cpp" />
 77      <ClCompile Include="pch.cpp">
 78        <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader>
 79      </ClCompile>
 80    </ItemGroup>
 81    <ItemGroup>
 82      <ClInclude Include="CLILogic.h" />
 83      <ClInclude Include="pch.h" />
 84      <ClInclude Include="resource.h" />
 85    </ItemGroup>
 86    <ItemGroup>
 87      <ResourceCompile Include="FileLocksmithCLI.rc" />
 88    </ItemGroup>
 89    <ItemGroup>
 90      <ProjectReference Include="..\FileLocksmithLib\FileLocksmithLib.vcxproj">
 91        <Project>{9d52fd25-ef90-4f9a-a015-91efc5daf54f}</Project>
 92      </ProjectReference>
 93      <ProjectReference Include="..\..\..\common\logger\logger.vcxproj">
 94        <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
 95      </ProjectReference>
 96      <ProjectReference Include="..\..\..\common\SettingsAPI\SettingsAPI.vcxproj">
 97        <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project>
 98      </ProjectReference>
 99      <ProjectReference Include="..\..\..\common\version\version.vcxproj">
100        <Project>{1248566c-272a-43c0-88d6-e6675d569a09}</Project>
101      </ProjectReference>
102    </ItemGroup>
103    <ItemGroup>
104      <None Include="packages.config" />
105    </ItemGroup>
106    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
107    <ImportGroup Label="ExtensionTargets">
108      <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')" />
109    </ImportGroup>
110    <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
111      <PropertyGroup>
112        <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>
113      </PropertyGroup>
114      <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'))" />
115      <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'))" />
116    </Target>
117  </Project>