Commit Graph
16 Commits
Author SHA1 Message Date
SpaiR d252c145c5 feat(api): make FreeType a toggleable option which is disabled by default (#254)
* deps(build): bump FreeType from 2.12.1 to 2.13.3

* fix(generator): add missing ImGuiFreeTypeBuilderFlags

* feat(generator): add possibility to provide additional defines specifically for AST

* feat(api): make FreeType optional and disabled by default

FreeType renderer is still included in the final build.
Its usage is toggleable and DISABLED by default.
2024-08-18 10:45:27 +03:00
SpaiR 46c008eb02 build(binding): add universal macOS ARM64 dylib and static FreeType compilation
- Static FreeType linking flow for all OS
- Flow to build universal binaries for macOS (x86_64, aarch64)
- Simplified CI workflow by removing FreeType branches from the build matrix

Added 2 new scripts:
1. `buildSrc/scripts/vendor_freetype.sh`
2. `buildSrc/scripts/build.sh`

The first script prepares FreeType for usage in the build process.
The result of this script is used in the `GenerateLibs` task.
Other ways of building with FreeType are removed.
If it's impossible to build with FreeType, it is recommended to set `freetype=false`.

The second script aggregates commands to build native binaries.
It includes specific steps, such as creating a universal library for macOS and copying the result to the specific folder `/tmp/imgui/dst`.

Script 1 can be used for local builds. Script 2 is primarily intended for use in CI.
2024-08-07 09:41:09 +03:00
Rex Fleischerand@Tom-Ski @zly2006 be4734090e build(binding): macOS ARM64 native binaries (#223)
Co-authored-by: @Tom-Ski @zly2006
2024-08-05 00:37:32 +03:00
SpaiR e2cfbdcf3f [Build] Change comparison for binary libraries
Instead of size we will compare hash of the `imgui-binding/src/main` folder.
2022-12-27 12:30:06 +02:00
SpaiR a2bacb292e [Build] Update artifacts only when needed (#150) 2022-12-15 12:36:35 +02:00
SpaiR 2957cb4b88 [Build] CI refactor (#149)
* [Build] CI refactor

* [Build] Fix GenerateLibs

* [Build] Up actions/checkout@v3

* [Build] Remove actions/gradle-build-action

* [Build] Uncomment publish/release jobs

* [Build] Delete obsolete jobs

* [Build] Add more info to the jar manifest

* [Build] Make checkout to fetch tags

* [Build] Return job to update binaries

* [Doc] Update README
2022-12-12 21:45:50 +02:00
SpaiR f01a5a573d [Build] Tweak build classes 2022-04-17 22:57:06 +03:00
SpaiR a6ca631506 [Build] Add more logs to the release script 2022-02-02 20:45:09 +02:00
SpaiR adf9d5fe4e [Build] Update publish scripts 2021-12-18 10:49:09 +02:00
SpaiR 37bc815a06 [Build] Add FreeType support for CI 2021-05-30 16:11:54 +03:00
SpaiR 6e67a18c26 [Build] Make freetype optional 2021-04-04 09:55:59 +03:00
SpaiR d8338f5609 [Build] Fix build scripts 2021-02-20 13:26:05 +02:00
SpaiR 4977e384cb [Build] Make freetype optional 2020-10-17 15:47:48 +03:00
SpaiR 2f7eb6f063 [Build] Optimize build scripts 2020-08-30 23:11:25 +03:00
SpaiR e328d738ce [WIP] Viewports backend 2020-08-30 15:47:27 +03:00
SpaiR a392a4227f Build scripts 2020-08-22 19:41:50 +03:00