Skip to content

Commit 6f1c4b5

Browse files
committed
Add plugins and obsolete features to mygui
To be able to build it without plugins and obsolete functions.
1 parent 1de2026 commit 6f1c4b5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ports/mygui/portfile.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,18 @@ endif()
2727

2828
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
2929
FEATURES
30+
plugins MYGUI_BUILD_PLUGINS
3031
tools MYGUI_BUILD_TOOLS
32+
INVERTED_FEATURES
33+
obsolete MYGUI_DONT_USE_OBSOLETE
34+
plugins MYGUI_DISABLE_PLUGINS
3135
)
3236

3337
vcpkg_cmake_configure(
3438
SOURCE_PATH "${SOURCE_PATH}"
3539
OPTIONS
3640
-DMYGUI_STATIC=TRUE
3741
-DMYGUI_BUILD_DEMOS=FALSE
38-
-DMYGUI_BUILD_PLUGINS=TRUE
3942
-DMYGUI_BUILD_UNITTESTS=FALSE
4043
-DMYGUI_BUILD_TEST_APP=FALSE
4144
-DMYGUI_BUILD_WRAPPER=FALSE

ports/mygui/vcpkg.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
},
2828
"tools": {
2929
"description": "Install MyGUI tools."
30+
},
31+
"plugins": {
32+
"description": "Build MyGUI plugins."
33+
},
34+
"obsolete": {
35+
"description": "Keep obsolete functions."
3036
}
3137
}
3238
}

0 commit comments

Comments
 (0)