Skip to content

Commit

Permalink
[CppXaml] Add new port (microsoft#22414)
Browse files Browse the repository at this point in the history
* Add CppXaml package

* format

* version

* 0.0.16

* update version

* Update ports/cppxaml/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update version

* add double quotes

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
  • Loading branch information
3 people authored and rhuijben committed Jan 25, 2022
1 parent 6931d26 commit e390a14
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ports/cppxaml/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
7 changes: 7 additions & 0 deletions ports/cppxaml/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "cppxaml",
"version": "0.0.16",
"description": "CppXaml is a library to facilitate usage of the XAML UI framework in C++ Windows apps.",
"homepage": "https://asklar.github.io/xaml-islands",
"supports": "windows"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,10 @@
"baseline": "windows-sdk",
"port-version": 0
},
"cppxaml": {
"baseline": "0.0.16",
"port-version": 0
},
"cppzmq": {
"baseline": "4.8.1",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/c-/cppxaml.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "57d825ac962df4a92481b82161ea7b7088929a82",
"version": "0.0.16",
"port-version": 0
}
]
}

0 comments on commit e390a14

Please sign in to comment.