source: trunk/Utilities/Miscellaneous/CoCreateInstance02/CoCreateInstance02.vcxproj @ 939

Last change on this file since 939 was 810, checked in by roman, 5 years ago

Added minhook

File size: 10.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="15.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|Win32">
9      <Configuration>Release</Configuration>
10      <Platform>Win32</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Debug|x64">
13      <Configuration>Debug</Configuration>
14      <Platform>x64</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Release|x64">
17      <Configuration>Release</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20  </ItemGroup>
21  <PropertyGroup Label="Globals">
22    <VCProjectVersion>15.0</VCProjectVersion>
23    <ProjectGuid>{0518DB2C-8074-4C93-A997-AD944767473A}</ProjectGuid>
24    <Keyword>Win32Proj</Keyword>
25    <RootNamespace>CoCreateInstance02</RootNamespace>
26    <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
27  </PropertyGroup>
28  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30    <ConfigurationType>Application</ConfigurationType>
31    <UseDebugLibraries>true</UseDebugLibraries>
32    <PlatformToolset>v141</PlatformToolset>
33    <CharacterSet>Unicode</CharacterSet>
34  </PropertyGroup>
35  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36    <ConfigurationType>Application</ConfigurationType>
37    <UseDebugLibraries>false</UseDebugLibraries>
38    <PlatformToolset>v141</PlatformToolset>
39    <WholeProgramOptimization>true</WholeProgramOptimization>
40    <CharacterSet>Unicode</CharacterSet>
41  </PropertyGroup>
42  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43    <ConfigurationType>Application</ConfigurationType>
44    <UseDebugLibraries>true</UseDebugLibraries>
45    <PlatformToolset>v141</PlatformToolset>
46    <CharacterSet>Unicode</CharacterSet>
47  </PropertyGroup>
48  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49    <ConfigurationType>Application</ConfigurationType>
50    <UseDebugLibraries>false</UseDebugLibraries>
51    <PlatformToolset>v141</PlatformToolset>
52    <WholeProgramOptimization>true</WholeProgramOptimization>
53    <CharacterSet>Unicode</CharacterSet>
54  </PropertyGroup>
55  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56  <ImportGroup Label="ExtensionSettings">
57  </ImportGroup>
58  <ImportGroup Label="Shared">
59  </ImportGroup>
60  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
61    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62  </ImportGroup>
63  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
64    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65  </ImportGroup>
66  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
67    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68  </ImportGroup>
69  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
70    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71  </ImportGroup>
72  <PropertyGroup Label="UserMacros" />
73  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74    <LinkIncremental>true</LinkIncremental>
75  </PropertyGroup>
76  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
77    <LinkIncremental>true</LinkIncremental>
78  </PropertyGroup>
79  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
80    <LinkIncremental>false</LinkIncremental>
81  </PropertyGroup>
82  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
83    <LinkIncremental>false</LinkIncremental>
84  </PropertyGroup>
85  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86    <ClCompile>
87      <PrecompiledHeader>NotUsing</PrecompiledHeader>
88      <WarningLevel>Level3</WarningLevel>
89      <Optimization>Disabled</Optimization>
90      <SDLCheck>true</SDLCheck>
91      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92    </ClCompile>
93    <Link>
94      <SubSystem>Console</SubSystem>
95      <GenerateDebugInformation>true</GenerateDebugInformation>
96      <AdditionalLibraryDirectories>packages\EasyHookNativePackage.2.7.6578.1\build\native\lib\$(Platform)\v140\$(Configuration);packages\minhook.1.3.3\lib\native\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
97    </Link>
98    <PostBuildEvent>
99      <Command>copy /b /y "$(SolutionDir)packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\bin\$(Platform)\v140\$(Configuration)\EasyHook$(PlatformArchitecture).dll" "$(TargetDir)"</Command>
100    </PostBuildEvent>
101  </ItemDefinitionGroup>
102  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
103    <ClCompile>
104      <PrecompiledHeader>NotUsing</PrecompiledHeader>
105      <WarningLevel>Level3</WarningLevel>
106      <Optimization>Disabled</Optimization>
107      <SDLCheck>true</SDLCheck>
108      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109    </ClCompile>
110    <Link>
111      <SubSystem>Console</SubSystem>
112      <GenerateDebugInformation>true</GenerateDebugInformation>
113      <AdditionalLibraryDirectories>packages\EasyHookNativePackage.2.7.6578.1\build\native\lib\$(Platform)\v140\$(Configuration);packages\minhook.1.3.3\lib\native\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
114    </Link>
115    <PostBuildEvent>
116      <Command>copy /b /y "$(SolutionDir)packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\bin\$(Platform)\v140\$(Configuration)\EasyHook$(PlatformArchitecture).dll" "$(TargetDir)"</Command>
117    </PostBuildEvent>
118  </ItemDefinitionGroup>
119  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
120    <ClCompile>
121      <PrecompiledHeader>NotUsing</PrecompiledHeader>
122      <WarningLevel>Level3</WarningLevel>
123      <Optimization>MaxSpeed</Optimization>
124      <FunctionLevelLinking>true</FunctionLevelLinking>
125      <IntrinsicFunctions>true</IntrinsicFunctions>
126      <SDLCheck>true</SDLCheck>
127      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128    </ClCompile>
129    <Link>
130      <SubSystem>Console</SubSystem>
131      <EnableCOMDATFolding>true</EnableCOMDATFolding>
132      <OptimizeReferences>true</OptimizeReferences>
133      <GenerateDebugInformation>true</GenerateDebugInformation>
134      <AdditionalLibraryDirectories>packages\EasyHookNativePackage.2.7.6578.1\build\native\lib\$(Platform)\v140\$(Configuration);packages\minhook.1.3.3\lib\native\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
135    </Link>
136    <PostBuildEvent>
137      <Command>copy /b /y "$(SolutionDir)packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\bin\$(Platform)\v140\$(Configuration)\EasyHook$(PlatformArchitecture).dll" "$(TargetDir)"</Command>
138    </PostBuildEvent>
139  </ItemDefinitionGroup>
140  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
141    <ClCompile>
142      <PrecompiledHeader>NotUsing</PrecompiledHeader>
143      <WarningLevel>Level3</WarningLevel>
144      <Optimization>MaxSpeed</Optimization>
145      <FunctionLevelLinking>true</FunctionLevelLinking>
146      <IntrinsicFunctions>true</IntrinsicFunctions>
147      <SDLCheck>true</SDLCheck>
148      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
149    </ClCompile>
150    <Link>
151      <SubSystem>Console</SubSystem>
152      <EnableCOMDATFolding>true</EnableCOMDATFolding>
153      <OptimizeReferences>true</OptimizeReferences>
154      <GenerateDebugInformation>true</GenerateDebugInformation>
155      <AdditionalLibraryDirectories>packages\EasyHookNativePackage.2.7.6578.1\build\native\lib\$(Platform)\v140\$(Configuration);packages\minhook.1.3.3\lib\native\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
156    </Link>
157    <PostBuildEvent>
158      <Command>copy /b /y "$(SolutionDir)packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\bin\$(Platform)\v140\$(Configuration)\EasyHook$(PlatformArchitecture).dll" "$(TargetDir)"</Command>
159    </PostBuildEvent>
160  </ItemDefinitionGroup>
161  <ItemGroup>
162    <ClCompile Include="CoCreateInstance02.cpp" />
163  </ItemGroup>
164  <ItemGroup>
165    <None Include="packages.config" />
166  </ItemGroup>
167  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
168  <ImportGroup Label="ExtensionTargets">
169    <Import Project="packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\EasyHookNativePackage.redist.targets" Condition="Exists('packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\EasyHookNativePackage.redist.targets')" />
170    <Import Project="packages\EasyHookNativePackage.2.7.6578.1\build\native\EasyHookNativePackage.targets" Condition="Exists('packages\EasyHookNativePackage.2.7.6578.1\build\native\EasyHookNativePackage.targets')" />
171    <Import Project="packages\minhook.1.3.3\build\native\minhook.targets" Condition="Exists('packages\minhook.1.3.3\build\native\minhook.targets')" />
172  </ImportGroup>
173  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
174    <PropertyGroup>
175      <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>
176    </PropertyGroup>
177    <Error Condition="!Exists('packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\EasyHookNativePackage.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\EasyHookNativePackage.redist.2.7.6578.1\build\native\EasyHookNativePackage.redist.targets'))" />
178    <Error Condition="!Exists('packages\EasyHookNativePackage.2.7.6578.1\build\native\EasyHookNativePackage.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\EasyHookNativePackage.2.7.6578.1\build\native\EasyHookNativePackage.targets'))" />
179    <Error Condition="!Exists('packages\minhook.1.3.3\build\native\minhook.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\minhook.1.3.3\build\native\minhook.targets'))" />
180  </Target>
181</Project>
Note: See TracBrowser for help on using the repository browser.