Skip to content

Commit 529f722

Browse files
committed
Switch from NuGet to vcpkg
1 parent cbff9c3 commit 529f722

File tree

10 files changed

+25
-15
lines changed

10 files changed

+25
-15
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vs/
22
.vscode/
33
build/
4+
vcpkg_installed/
45
README BakkesPlugins.md
56
crash.txt

BetterChat.vcxproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
<OutDir>$(SolutionDir)plugins\</OutDir>
5151
<IntDir>$(SolutionDir)build\.intermediates\$(Configuration)\</IntDir>
5252
</PropertyGroup>
53+
<PropertyGroup Label="Vcpkg">
54+
<VcpkgEnableManifest>true</VcpkgEnableManifest>
55+
</PropertyGroup>
56+
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
57+
<VcpkgUseStatic>true</VcpkgUseStatic>
58+
</PropertyGroup>
5359
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5460
<ClCompile>
5561
<WarningLevel>Level3</WarningLevel>
@@ -135,11 +141,6 @@
135141
<ItemGroup>
136142
<ResourceCompile Include="BetterChat.rc" />
137143
</ItemGroup>
138-
<ItemGroup>
139-
<None Include="packages.config" />
140-
</ItemGroup>
141144
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
142-
<ImportGroup Label="ExtensionTargets">
143-
<Import Project="packages\nlohmann.json.3.11.2\build\native\nlohmann.json.targets" Condition="Exists('packages\nlohmann.json.3.11.2\build\native\nlohmann.json.targets')" />
144-
</ImportGroup>
145+
<ImportGroup Label="ExtensionTargets" />
145146
</Project>

BetterChat.vcxproj.filters

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
<ClCompile Include="fmt\src\os.cc">
7373
<Filter>Source Files</Filter>
7474
</ClCompile>
75+
<ClCompile Include="IMGUI\imgui_stdlib.cpp">
76+
<Filter>Source Files</Filter>
77+
</ClCompile>
7578
</ItemGroup>
7679
<ItemGroup>
7780
<ClInclude Include="BetterChat.h">
@@ -122,13 +125,16 @@
122125
<ClInclude Include="version.h">
123126
<Filter>Header Files</Filter>
124127
</ClInclude>
128+
<ClInclude Include="IMGUI\imgui_stdlib.h">
129+
<Filter>Header Files</Filter>
130+
</ClInclude>
131+
<ClInclude Include="logging.h">
132+
<Filter>Header Files</Filter>
133+
</ClInclude>
125134
</ItemGroup>
126135
<ItemGroup>
127136
<ResourceCompile Include="BetterChat.rc">
128137
<Filter>Resource Files</Filter>
129138
</ResourceCompile>
130139
</ItemGroup>
131-
<ItemGroup>
132-
<None Include="packages.config" />
133-
</ItemGroup>
134140
</Project>

packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.
-9.24 KB
Binary file not shown.
Binary file not shown.

plugins/BetterChat.dll

512 Bytes
Binary file not shown.

plugins/BetterChat.pdb

584 KB
Binary file not shown.

vcpkg.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
3+
"dependencies": [
4+
"nlohmann-json"
5+
]
6+
}

version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22
#define VERSION_MAJOR 3
33
#define VERSION_MINOR 0
4-
#define VERSION_PATCH 1
5-
#define VERSION_BUILD 400
4+
#define VERSION_PATCH 2
5+
#define VERSION_BUILD 403
66

77
#define stringify(a) stringify_(a)
88
#define stringify_(a) #a

0 commit comments

Comments
 (0)