vcpkg/ports/vsgimgui/portfile.cmake
MonicaLiu 66bef96adb
[imgui/vsgimgui] Update imgui to 1.90.6 and vsgimgui to 0.3.0 (#38669)
Fixes #38662, update `imgui` to 1.90.6, update `vsgimgui` to 0.3.0.

imgui
-
Except `osx-binding, metal-binding, android-binding`, other features are
tested successfully in the following triplet:
```
x64-windows
x64-windows-static
```

Except `osx-binding,metal-binding,android-binding,dx12-binding`, other
features are tested successfully in the following triplet:
```
x86-windows
```

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version.~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-05-13 12:53:17 -07:00

22 lines
754 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vsg-dev/vsgImGui
REF "v${VERSION}"
SHA512 f27ef25edb95c2129553732054080582a6990b6d84ae6f3ff2007489f02cfcb6ce3f728eb56b584315f5e9835daf74d104962b07b35463ba655bf7aa5c99489c
HEAD_REF master
PATCHES
devendor.patch
remove-manual-font-creation.patch
)
file(REMOVE "${SOURCE_PATH}/include/vsgImGui/imgui.h")
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "vsgImGui" CONFIG_PATH "lib/cmake/vsgImGui")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")