Skip to content

Commit

Permalink
[x-plane] The core xplm and xpwidgets libraries are copied into <trip…
Browse files Browse the repository at this point in the history
…let>\lib (microsoft#43762)
  • Loading branch information
jimwang118 authored Feb 14, 2025
1 parent 34673d9 commit 8b903e1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ports/x-plane/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-x-plane)

if(VCPKG_TARGET_IS_WINDOWS)
file(COPY "${SOURCE_PATH}/Libraries/Win/XPLM_64.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
file(COPY "${SOURCE_PATH}/Libraries/Win/XPLM_64.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
file(COPY "${SOURCE_PATH}/Libraries/Win/XPWidgets_64.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
file(COPY "${SOURCE_PATH}/Libraries/Win/XPWidgets_64.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
endif()

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")

configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
Expand Down
1 change: 1 addition & 0 deletions ports/x-plane/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "x-plane",
"version": "4.1.1",
"port-version": 1,
"description": "The X-Plane Plugin SDK",
"homepage": "https://developer.x-plane.com/sdk/",
"license": null,
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9906,7 +9906,7 @@
},
"x-plane": {
"baseline": "4.1.1",
"port-version": 0
"port-version": 1
},
"x264": {
"baseline": "0.164.3108",
Expand Down
5 changes: 5 additions & 0 deletions versions/x-/x-plane.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4b15a35069015b13e6cddeec2e6d78ad40e94208",
"version": "4.1.1",
"port-version": 1
},
{
"git-tree": "609a44d1efc6a1b605a5705a5f2f05128b763983",
"version": "4.1.1",
Expand Down

0 comments on commit 8b903e1

Please sign in to comment.