Thrita
ba31fc95a9
Add support for Apple framework builds ( #4993 )
...
* Build: Update Apple Framework properties
Signed-off-by: Treata11 <treata11@yahoo.com>
* Build: Fix issues related to Framework properties
Signed-off-by: Treata11 <treata11@yahoo.com>
* Build: Fix framework properties of SHARED_LIBS
Signed-off-by: Treata11 <treata11@yahoo.com>
* Fix typos
---------
Signed-off-by: Treata11 <treata11@yahoo.com>
1 month ago
Garret Rieger
056504168c
[repacker] rename hb-subset-repacker -> hb-subset-serialize.
...
Also hb_link_t and hb_object_t to hb_subset_serialize_link_t and hb_subset_serialize_object_t.
1 month ago
Khaled Hosny
b461c4224a
Fold the remaining Makefile.sources into CMakeLists.txt
...
That is the only place where they are used now.
8 months ago
Khaled Hosny
fa82ecd2c7
Fix CMake build
8 months ago
Don Olmstead
cef1eafb77
Use find_package for ICU
...
ICU 75.1 requires C++17 support so use `find_package(ICU)` which determines the versioning. Sets `CMAKE_CXX_STANDARD` when that happens.
Follows along with what Meson build did in 93d58f83
.
8 months ago
Timo Suoranta
39b5ae79f0
Fix for #4395
10 months ago
Bruce Mitchener
582a5b3a92
cmake: Switch to `find_package(Python3)`.
...
The existing way of working used in this file was deprecated in
cmake 3.12 and a new way supplied.
See https://cmake.org/cmake/help/latest/policy/CMP0148.html
1 year ago
Behdad Esfahbod
4a18c502e2
[cmake] Treat VITA like gcc
...
https://github.com/vitasdk/packages/issues/300
1 year ago
Chun-wei Fan
5e9710ffc0
CMake: Update introspection cflags
...
Make the flags between --cflags-[begin|end] correspond to the ones used in the
Meson builds better.
1 year ago
Chun-wei Fan
ea526c3dcb
CMake: Generate and install hb-features.h
...
By the features that are enabled for the build. The header is installed unless
one chooses not to install it
1 year ago
Chun-wei Fan
86fd6b10c4
CMake: Build the hb-info utility program
...
...if GObject support is enabled.
1 year ago
Chun-wei Fan
d112ed40fc
CMake: Install hb-subset-repacker.h
...
It ought to be installed.
1 year ago
Chun-wei Fan
1d86b844df
CMake: Build libharfbuzz-cairo and fix hb-view build
...
There is now a separate library that we build if Cairo support is enabled,
which will also be used to build hb-view, so we:
* Add support in the CMake build files to build libharfbuzz-cairo, if enabled
via HB_HAVE_CAIRO. Move the Cairo detection bits around as a result.
* Generate pkg-config file for libharfbuzz-cairo, and add 'cairo' to
Requires.private.
* Fix building hb-view, which will now depend on libharfbuzz-cairo, so Cairo
support must be explicitly enabled.
* Stop depending automatically on Cairo if HB_BUILD_UTILS is enabled unless
Cairo support is enabled as a result.
1 year ago
Amir Masoud Abdol
0a3e4c12ac
Replace the deprecated $<CONFIGURATION> with $<CONFIG>
2 years ago
Ankith
a120b01ab3
[cmake] Generate pkg-config .pc files
2 years ago
Not-a-Bug Won't Fix
aec34e17eb
Fix target_link_libraries signatures mixing
3 years ago
Luca Bacci
3a722c5354
Fixes for DWrite header checks
3 years ago
Luca Bacci
1abc14b463
Do not link with the DWrite lib
...
It's loaded dynamically now
3 years ago
Cosimo Lupo
53eeeab0e3
CMakeLists.txt: also match 'AppleClang' compiler to not link with libc++
3 years ago
Timo Suoranta
b8c2c1ab37
Use freetype from CMake target when present ( #3361 )
...
Add check for Freetype CMake target. If it is found:
- enable HB_HAVE_FREETYPE option
- add HAVE_FREETYPE=1 define
- bypass finding Freetype as cmake package
- add Freetype CMake target as dependency to harfbuzz
3 years ago
faywong
b621c4fc29
[subset] Refine the coding style
3 years ago
faywong
f8538d3117
[subset] Export header & archive when HB_BUILD_SUBSET
...
Ease the adopt of hb-subset feature for 3rd party developers
3 years ago
NikitaFeodonit
19cd84b4e9
CMake: Detect pthread with module FindThread
...
Set CMake minimum version to 3.1.
3 years ago
Behdad Esfahbod
c4b49075f6
Update CMakeLists.txt
...
Keep the warning.
4 years ago
Timo Suoranta
9945f32746
Test fix to export target include directories
4 years ago
Behdad Esfahbod
dbcf2f417f
[cmake] Fix syntax
4 years ago
Behdad Esfahbod
11c28cb5fa
[cmake] Define HAVE_PTHREAD if not on win32
...
Yeah...
4 years ago
Behdad Esfahbod
c2fc2aa44c
[atomic] Remove Solaris intrinsics
4 years ago
Behdad Esfahbod
7099a6dca1
[atomic] Remove old Intel primitives implementation
4 years ago
Chun-wei Fan
2953a66ab6
CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built
...
Without this, the built library for harfbuzz-gobject is unuseful.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
2af58c3518
Revert "Remove cmake build files"
...
This reverts commit 4e572c9407
.
5 years ago
Ebrahim Byagowi
4e572c9407
Remove cmake build files
...
As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252
5 years ago
Ebrahim Byagowi
1536271f6b
Don't check roundf availability in cmake and meson
5 years ago
Ebrahim Byagowi
8c84fee2e5
Update build systems status messages
5 years ago
Ebrahim Byagowi
44fe1c8ff1
Remove xlocale use now that isn't available in most distros
...
Our CI bots don't detect it in Alpine, ArchLinux, Ubuntu and Fedora
so let's get rid of it use the fallback we are using anyway for a
long time.
5 years ago
Ebrahim Byagowi
e860000db5
[cmake] Suggest Meson port in CMake
5 years ago
Ebrahim Byagowi
b1c3d0b8b0
[cmake] cleanup
5 years ago
Ebrahim Byagowi
c494d7abcd
Remove cmake testing and add meson build bot
...
CMake tests are broken anyway as py3 changes so let's get rid of them
5 years ago
Ebrahim Byagowi
79b2b8a91f
minor
5 years ago
Rico Tzschichholz
2c9fbf5561
Improve GIR build
5 years ago
Ebrahim Byagowi
f7187e90d2
[cmake] Don't build src/main
...
Closes #2108
5 years ago
Don
878e3588a3
[cmake] Add harfbuzz-icu library
5 years ago
Ebrahim Byagowi
d50d2fcbc7
Fallback if roundf didn't exist, like in dietlibc ( #1953 )
6 years ago
Derzsi Dániel
658424b29e
[cmake] Fix CMake build on newer CMake versions
...
Unfortunately, newer CMake versions die during regex variable extraction, causing the build to fail.
This is caused by the lack of escaping used around variables in the extract_make_variable function, causing these variables to be automatically unwrapped into empty strings.
6 years ago
Ebrahim Byagowi
eb8bd2f7ec
Add hb_gdi_face_create API
...
Based on Konstantin Ritt work posted on mailing list
6 years ago
Ebrahim Byagowi
9fea6b4dd4
[amalgam] Use it in cmake port and fix conflicts ( #1812 )
6 years ago
Behdad Esfahbod
efef672911
Fix cmake build
...
Hopefullly.
6 years ago
Behdad Esfahbod
23768a99e0
[config] Replace HAVE_FALLBACK with HB_NO_FALLBACK_SHAPE
...
This disables fallback shaper in tiny builds. Projects that don't
use our build system and want to disable fallback shaper (eg. Firefox)
should define HB_NO_FALLBACK_SHAPE now.
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
6 years ago
Ebrahim Byagowi
c4cae81a26
Remove round polyfill
...
Added in 01dff1e
and 19256bef
, this was targeted at older
msvc versions that don't support C99 but now as we require
C++11 we don't target places those envs thus removing this.
6 years ago