Skip to content

Commit

Permalink
[Mygui] Add features obsolete, plugins (microsoft#41889)
Browse files Browse the repository at this point in the history
Co-authored-by: elsid <[email protected]>
  • Loading branch information
AnyOldName3 and elsid authored Nov 1, 2024
1 parent 1e54a43 commit 137197a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ports/mygui/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
plugins MYGUI_BUILD_PLUGINS
tools MYGUI_BUILD_TOOLS
INVERTED_FEATURES
obsolete MYGUI_DONT_USE_OBSOLETE
plugins MYGUI_DISABLE_PLUGINS
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" MYGUI_STATIC)
Expand All @@ -34,7 +38,6 @@ vcpkg_cmake_configure(
OPTIONS
-DMYGUI_STATIC=${MYGUI_STATIC}
-DMYGUI_BUILD_DEMOS=FALSE
-DMYGUI_BUILD_PLUGINS=TRUE
-DMYGUI_BUILD_UNITTESTS=FALSE
-DMYGUI_BUILD_TEST_APP=FALSE
-DMYGUI_BUILD_WRAPPER=FALSE
Expand Down
8 changes: 7 additions & 1 deletion ports/mygui/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mygui",
"version": "3.4.3",
"port-version": 2,
"port-version": 3,
"description": "Fast, flexible and simple GUI",
"homepage": "http://mygui.info",
"license": "MIT",
Expand All @@ -19,12 +19,18 @@
}
],
"features": {
"obsolete": {
"description": "Keep obsolete functions."
},
"opengl": {
"description": "Use OpenGL render system.",
"dependencies": [
"opengl"
]
},
"plugins": {
"description": "Build MyGUI plugins."
},
"tools": {
"description": "Install MyGUI tools."
}
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6178,7 +6178,7 @@
},
"mygui": {
"baseline": "3.4.3",
"port-version": 2
"port-version": 3
},
"mysql-connector-cpp": {
"baseline": "8.0.32",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mygui.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d6dd68e15957cce25c9ef64b626d8db2ddc838f2",
"version": "3.4.3",
"port-version": 3
},
{
"git-tree": "7efdf991088c6e26ca97c11bb8ef00c94d690a9b",
"version": "3.4.3",
Expand Down

0 comments on commit 137197a

Please sign in to comment.