-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
264f1c9
commit 3048968
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
vcpkg_fail_port_install(ON_TARGET "UWP" "iOS" "Android" ON_ARCH "x86" "arm") | ||
|
||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO DragonJoker/Ashes | ||
REF 01066539d667b21a20c97c2a70d9bf17555c8cc0 | ||
SHA512 f335d99ff044b388494cbbf7cbde3c9ee46eaecdc9339fc7f45fa781d23635dde3d3eaa237ed466ce50e5c1ea6e2729d8b5a6cc3930535d1252e564f32d6b778 | ||
) | ||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DCMAKE_INSTALL_PREFIX=${CURRENT_INSTALLED_DIR} | ||
-DPROJECTS_USE_PRECOMPILED_HEADERS=OFF | ||
-DVCPKG_PACKAGE_BUILD=ON | ||
-DASHES_BUILD_TEMPLATES=OFF | ||
-DASHES_BUILD_TESTS=OFF | ||
-DASHES_BUILD_INFO=OFF | ||
-DASHES_BUILD_SAMPLES=OFF | ||
) | ||
|
||
vcpkg_install_cmake() | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ashes) | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ashes RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "ashes", | ||
"version-string": "2020-10-21", | ||
"description": "Drop-in replacement to Vulkan's shared library, allowing the use of OpenGL or Direct3D11 in addition to Vulkan.", | ||
"homepage": "https://github.com/DragonJoker/Ashes", | ||
"supports": "!osx & !linux & !ios & !android & !uwp & !x86 & !arm & !static", | ||
"dependencies": [ | ||
"opengl", | ||
"spirv-cross", | ||
"vulkan-headers" | ||
] | ||
} |