Skip to content

Commit

Permalink
Add plugins and obsolete features to mygui
Browse files Browse the repository at this point in the history
To be able to build it without plugins and obsolete functions.
  • Loading branch information
elsid committed Aug 10, 2024
1 parent 1de2026 commit 6f1c4b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ports/mygui/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ 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
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DMYGUI_STATIC=TRUE
-DMYGUI_BUILD_DEMOS=FALSE
-DMYGUI_BUILD_PLUGINS=TRUE
-DMYGUI_BUILD_UNITTESTS=FALSE
-DMYGUI_BUILD_TEST_APP=FALSE
-DMYGUI_BUILD_WRAPPER=FALSE
Expand Down
6 changes: 6 additions & 0 deletions ports/mygui/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
},
"tools": {
"description": "Install MyGUI tools."
},
"plugins": {
"description": "Build MyGUI plugins."
},
"obsolete": {
"description": "Keep obsolete functions."
}
}
}

0 comments on commit 6f1c4b5

Please sign in to comment.