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
.
4 years ago
Ebrahim Byagowi
4e572c9407
Remove cmake build files
...
As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252
4 years ago
Ebrahim Byagowi
1536271f6b
Don't check roundf availability in cmake and meson
4 years ago
Ebrahim Byagowi
8c84fee2e5
Update build systems status messages
4 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 )
5 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.
5 years ago
Ebrahim Byagowi
eb8bd2f7ec
Add hb_gdi_face_create API
...
Based on Konstantin Ritt work posted on mailing list
5 years ago
Ebrahim Byagowi
9fea6b4dd4
[amalgam] Use it in cmake port and fix conflicts ( #1812 )
5 years ago
Behdad Esfahbod
efef672911
Fix cmake build
...
Hopefullly.
5 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
5 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
Behdad Esfahbod
b567d4ea14
Fix build after UCDN -> UCD
6 years ago
Behdad Esfahbod
3fc066314a
Another try at fixing cmake build
6 years ago
Behdad Esfahbod
0ca358f21a
Try fixing cmake build
6 years ago
Ebrahim Byagowi
a464cbeece
Revert "Add harfbuzzjs build configuration ( #1636 )" ( #1675 )
...
This reverts commit 694cb1beee
.
6 years ago
Ebrahim Byagowi
694cb1beee
Add harfbuzzjs build configuration ( #1636 )
6 years ago
Joël R. Langlois
bb29ece23a
Remove Forcing Diagnostic Colours from CMakeLists.txt ( #1597 )
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1596
6 years ago
Joël R. Langlois
d66f7e14a0
Remove Forcing Diagnostic Colours from CMakeLists.txt ( #1597 )
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1596
6 years ago
Ebrahim Byagowi
e5989e0962
[cmake] Enable C++11 on CMake ( #1519 )
6 years ago
Chun-wei Fan
09b16c536d
CMake: Fix Introspection builds
...
We need to add -DHB_AAT_H and -DHB_AAT_H_IN to the flags that are passed
to g-ir-scanner, so that introspection builds can proceed normally.
6 years ago
Behdad Esfahbod
58d4d19947
Simplify build source list
6 years ago
Ebrahim Byagowi
1b7bfb5e18
[cmake] Make build of tests and subset optional ( #1329 )
6 years ago
Bruce Mitchener
257d0e5aa3
Fix typos.
6 years ago
Behdad Esfahbod
1e8fdd285f
Remove HAVE_OT
...
We never tested compiling without it. Just kill it. We always build
our own shaper.
6 years ago
Ebrahim Byagowi
187df7d7a9
[circleci] Add an iOS bot ( #1233 )
6 years ago
Chun-wei Fan
8e4ad1d7a0
builds: Fix and clean up MSVC DLL builds
...
Instead of passing a CFLAG/CXXFLAG to define HB_EXTERN, define it
directly in src/hb.hh as __declspec(dllexport) extern when we are
building HarfBuzz as DLLs on Visual Studio. Define HB_INTERNAL
as nothing without defining HB_NO_VISIBILITY when building HarfBuzz as
DLLs to avoid linker errors on Visual Studio builds.
Also "install" harfbuzz-subset.dll into $(PREFIX)\bin as the
hb-subset utility will depend on that DLL at runtime, when HarfBuzz is
built as DLLs. Since it consists of private APIs that are subject to
change, we do not install its headers nor .lib file.
6 years ago
Simon Hausmann
6a97d0f3d3
Fix installation of cmake config when building with cmake ( #1161 )
...
When building with the auto tools, the manually mantained
harfbuzz-config.cmake is installed. When building with cmake, we can use
cmake to generate the correct config files for us and install them.
6 years ago
Cosimo Lupo
53f73409a9
CMakeLists.txt: don't pass header args as single space-separated string
...
let python's parse command-line args as usual
6 years ago
Cosimo Lupo
83d2233a5c
CMakeLists.txt: pass headers as arguments to gen-def.py; call using PYTHON_EXECUTABLE
6 years ago
Ebrahim Byagowi
ac92ed7d68
Set inline hidden flag only on shared library building
...
To avoid need of CMP0063 which is not available on older CMake versions
7 years ago
Ebrahim Byagowi
eff36cd8f0
Minor build related changes
7 years ago
Ebrahim Byagowi
8fd55422c3
Implement an internal emojis dumper tool ( #909 )
...
Later to be expanded to a more general tool but for now it only supports CBDT, SVG and CBDT.
7 years ago
Nikolaus Waxweiler
95f0458f44
Policy 0063 must be enabled to have hidden inline visibility... ( #900 )
...
...on static builds.
7 years ago
Joel Winarske
d68f00e4d8
Do feature test before adding -Bsymbolic-functions, cmake part ( #889 )
7 years ago
Ebrahim Byagowi
42d3271cc3
[cmake] Don't hide symbols by default ( #891 )
...
But keep use of cmake idiomatic way of making inlines hidden
7 years ago
Nikolaus Waxweiler
22de9bf56d
Enable implicit symbol hiding for all libraries, static and shared
...
This covers all built libraries now and both static and shared builds.
7 years ago