Skip to content

Commit

Permalink
Add vcpkg manifest file and mark vcpkg cmake variables as advanced
Browse files Browse the repository at this point in the history
VCPKG manifest is intentionally kept under a separate folder titled
`vcpkg` under the repository root for the following reasons:
- CI uses different workflow w.r.t freeimage and freetype dependency
  which will conflict if the manifest file is present at root.
- Helps organize any future vcpkg associated files into single location
  • Loading branch information
9prady9 committed Apr 5, 2021
1 parent b9aff60 commit d0922c2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,19 @@ mark_as_advanced(
pkgcfg_lib_FontConfigPkg_fontconfig
Boost_INCLUDE_DIR
SPHINX_EXECUTABLE
VCPKG_APPLOCAL_DEPS
VCPKG_BOOTSTRAP_OPTIONS
VCPKG_INSTALL_OPTIONS
VCPKG_MANIFEST_DIR
VCPKG_MANIFEST_INSTALL
VCPKG_MANIFEST_MODE
VCPKG_OVERLAY_PORTS
VCPKG_OVERLAY_TRIPLETS
VCPKG_TARGET_TRIPLET
X_VCPKG_APPLOCAL_DEPS_INSTALL
X_VCPKG_APPLOCAL_DEPS_SERIALIZED
Z_VCPKG_BUILTIN_POWERSHELL_PATH
Z_VCPKG_PWSH_PATH
Z_VCPKG_CL
_VCPKG_INSTALLED_DIR
)
16 changes: 16 additions & 0 deletions vcpkg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "forge",
"version-string": "1.1.0",
"supports": "x64",
"dependencies": [
"boost-functional",
"freetype",
"freeimage",
{
"name": "fontconfig",
"platform": "!windows"
},
"glfw3",
"sdl2"
]
}

0 comments on commit d0922c2

Please sign in to comment.