Skip to content

Commit 5b7ea2b

Browse files
Use vcpkg
1 parent f1c719c commit 5b7ea2b

7 files changed

Lines changed: 33 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@
4444
/CSAPI/x64/Debug
4545
/x64/Debug
4646
/CSAPI-test/x64/Debug
47+
48+
*/vcpkg_installed/*

CSAPI-test/CSAPI-test.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@
174174
<ClInclude Include="pch.h" />
175175
<ClInclude Include="TestHelper.h" />
176176
</ItemGroup>
177+
<ItemGroup>
178+
<None Include="vcpkg.json" />
179+
</ItemGroup>
177180
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
178181
<ImportGroup Label="ExtensionTargets">
179182
</ImportGroup>

CSAPI-test/CSAPI-test.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@
4848
<Filter>Header Files</Filter>
4949
</ClInclude>
5050
</ItemGroup>
51+
<ItemGroup>
52+
<None Include="vcpkg.json" />
53+
</ItemGroup>
5154
</Project>

CSAPI-test/vcpkg.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "csapi-test",
3+
"version-string": "1.0.0",
4+
"dependencies": [
5+
"nlohmann-json",
6+
"curl"
7+
]
8+
}

CSAPI/CSAPI.vcxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
7575
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)CSAPI;</IncludePath>
7676
</PropertyGroup>
77+
<PropertyGroup Label="Vcpkg">
78+
<VcpkgEnableManifest>true</VcpkgEnableManifest>
79+
</PropertyGroup>
7780
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7881
<ClCompile>
7982
<WarningLevel>Level3</WarningLevel>
@@ -199,6 +202,9 @@
199202
<ClInclude Include="Util\TimeUtils.h" />
200203
<ClInclude Include="Util\Utilities.h" />
201204
</ItemGroup>
205+
<ItemGroup>
206+
<None Include="vcpkg.json" />
207+
</ItemGroup>
202208
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
203209
<ImportGroup Label="ExtensionTargets">
204210
</ImportGroup>

CSAPI/CSAPI.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,7 @@
226226
<Filter>Header Files\Util</Filter>
227227
</ClInclude>
228228
</ItemGroup>
229+
<ItemGroup>
230+
<None Include="vcpkg.json" />
231+
</ItemGroup>
229232
</Project>

CSAPI/vcpkg.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "csapi",
3+
"version-string": "1.0.0",
4+
"dependencies": [
5+
"nlohmann-json",
6+
"curl"
7+
]
8+
}

0 commit comments

Comments
 (0)