aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cppxaml
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/cppxaml')
-rw-r--r--vcpkg/ports/cppxaml/portfile.cmake11
-rw-r--r--vcpkg/ports/cppxaml/vcpkg.json9
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/cppxaml/portfile.cmake b/vcpkg/ports/cppxaml/portfile.cmake
new file mode 100644
index 0000000..0a76e0e
--- /dev/null
+++ b/vcpkg/ports/cppxaml/portfile.cmake
@@ -0,0 +1,11 @@
+#header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO asklar/xaml-islands
+ REF 0.0.16
+ SHA512 30fba1ef9264bf2eeaf0e48898c6b138adef9ee98d758ac91bcc7f2c90e50f00ec35925705347c3fc5c84b97652caeece7b3854be5b468a02e51fed23eda8007
+ HEAD_REF main
+)
+
+file(INSTALL "${SOURCE_PATH}/inc/cppxaml" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/cppxaml/vcpkg.json b/vcpkg/ports/cppxaml/vcpkg.json
new file mode 100644
index 0000000..8953b4a
--- /dev/null
+++ b/vcpkg/ports/cppxaml/vcpkg.json
@@ -0,0 +1,9 @@
+{
+ "name": "cppxaml",
+ "version": "0.0.16",
+ "port-version": 1,
+ "description": "CppXaml is a library to facilitate usage of the XAML UI framework in C++ Windows apps.",
+ "homepage": "https://asklar.github.io/xaml-islands",
+ "license": "MIT",
+ "supports": "windows & !xbox"
+}