-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[rmlui] Add Rmlui library #18409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+141
−0
Merged
[rmlui] Add Rmlui library #18409
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
70426e7
Add RmlUi port
mikke89 8342554
Update versions
mikke89 6962f63
Fix uwp build
mikke89 54e18d2
Update versions
mikke89 55e4608
Add maintainers to manifest
mikke89 c2d2e7c
Update version
mikke89 5ad9e30
Update ports/rmlui/portfile.cmake
mikke89 58dfadb
- Update to RmlUi 4.1, fixes some issues with missing dependencies.
mikke89 3678481
Fix config name
mikke89 e1b708f
Change source in current packages directory
mikke89 31f74c1
Use robin_hood.h included from vcpkg
mikke89 67c2f31
Move source modifications to robin_hood patch
mikke89 eaa9897
Fix path in patch
mikke89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 7280464e..e03f667c 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -297,6 +297,7 @@ macro(add_common_target_options NAME) | ||
| endif() | ||
| elseif(MSVC) | ||
| target_compile_options(${NAME} PRIVATE /MP /W4 /w44062 /permissive-) | ||
| + target_compile_definitions(${NAME} PRIVATE _CRT_SECURE_NO_WARNINGS) | ||
|
|
||
| if(WARNINGS_AS_ERRORS) | ||
| target_compile_options(${NAME} PRIVATE /WX) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO mikke89/RmlUi | ||
| REF 4.0 | ||
| SHA512 b1c8dc48ce3c1ef8e53c7e8d0aa830eec5b968bb3ff7cd778067627de649b45c1a72adfcd168d0ca36018455b6b2a740324cec63304ec4e66dd859ef9d64f674 | ||
| HEAD_REF master | ||
| PATCHES | ||
| fix-uwp.patch | ||
| ) | ||
|
|
||
| vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
| FEATURES | ||
| lua BUILD_LUA_BINDINGS | ||
| INVERTED_FEATURES | ||
| freetype NO_FONT_INTERFACE_DEFAULT | ||
| ) | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PREFER_NINJA | ||
| OPTIONS | ||
| ${FEATURE_OPTIONS} | ||
| ) | ||
|
|
||
| vcpkg_install_cmake() | ||
| vcpkg_fixup_cmake_targets( | ||
| CONFIG_PATH lib/RmlUi/cmake | ||
| ) | ||
| vcpkg_copy_pdbs() | ||
|
|
||
| file(REMOVE_RECURSE | ||
| ${CURRENT_PACKAGES_DIR}/debug/include | ||
| ${CURRENT_PACKAGES_DIR}/debug/lib/RmlUi | ||
| ${CURRENT_PACKAGES_DIR}/lib/RmlUi | ||
|
mikke89 marked this conversation as resolved.
|
||
| ) | ||
|
|
||
| file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "name": "rmlui", | ||
| "version": "4.0", | ||
| "maintainers": "Michael R. P. Ragazzon <mikke89@users.noreply.github.com>", | ||
| "description": "RmlUi is the C++ user interface library based on the HTML and CSS standards, designed as a complete solution for any project's interface needs.", | ||
| "homepage": "https://github.com/mikke89/RmlUi", | ||
| "documentation": "https://mikke89.github.io/RmlUiDoc/", | ||
|
mikke89 marked this conversation as resolved.
|
||
| "license": "MIT", | ||
| "default-features": [ | ||
| "freetype" | ||
| ], | ||
| "features": { | ||
| "freetype": { | ||
| "description": "Include font engine based on FreeType", | ||
| "dependencies": [ | ||
| "freetype" | ||
| ] | ||
| }, | ||
| "lua": { | ||
| "description": "Build Lua bindings", | ||
| "dependencies": [ | ||
| "lua" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "81009f0952c6bc37ce0246d2ff7e67fcbed76a13", | ||
| "version": "4.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.