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
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
Nikolaus Waxweiler
ce975dce7a
CMake: hide symbols by default on non-MSVC, define export attribute
...
This change makes sure that non-MSVC builds using CMake properly hide
non-exported functions.
7 years ago
Chun-wei Fan
7c43adab6d
CMake: Fix utility program installation
...
Put in the utility program that was missed in installation by replacing
the one that was duplicated.
7 years ago
Chun-wei Fan
e9b8002a60
CMake: Fix introspection on Windows
...
The list of source files to pass to g-ir-scanner is becoming too
long for Windows, as Windows imposes a 8192-character limit for command
lines, so we need to first transform that list into a listings file, and
then use the --filelist option for g-ir-scanner to build the
introspection files.
7 years ago
Chun-wei Fan
89dbabff65
configure.ac/CMake: Check for round() and stdbool.h
...
Not all the compilers that HarfBuzz is buildable on supports round() and
has the header stdbool.h, so we check for them and define HAVE_ROUND and
HAVE_STDBOOL_H repsectively in our CFLAGS so that we include them only
when they are found, or use fallback implementations when necessary.
Also include FindPythonInterp earlier as we need PYTHON_EXECUTABLE to be
set for running the tests.
7 years ago
Ebrahim Byagowi
0eec33154a
[cmake] cleanup ( #846 )
7 years ago
Garret Rieger
f757757eda
[subset] Add cmake build def for test-unicode-ranges.
7 years ago
Behdad Esfahbod
b91e8da36e
Include hb-version.h in git ( #825 )
7 years ago
Behdad Esfahbod
e0939d811f
Clean up check-defs and check-symbols ( #821 )
...
Also, call c++filt on their results.
Also build and fix and check harfbuzz-gobject.def
Also changes harfbuzz-gobject to distribute generated enum sources.
7 years ago
Ebrahim Byagowi
89b82814b6
Add a continuous builder using fswatch
7 years ago
Ebrahim Byagowi
a9b650d384
Apply check-defs.sh to -icu and -subset, toward mingw fix ( #780 )
7 years ago
Ebrahim Byagowi
844f48ea9a
Fix symbol exporting and libstdc++ linkage of hb-subset ( #769 )
7 years ago
Behdad Esfahbod
9682ef135f
Minor fixups
7 years ago
Garret Rieger
35eeb893ef
Don't include subset headers in libharfbuzz.
7 years ago
Garret Rieger
0f3c756cbf
Add CMake config for building a separate harfbuzz-subset.
7 years ago
Garret Rieger
f83a43b561
Add CMake configuration for all of the new subsetting code.
7 years ago
Ebrahim Byagowi
07885e65ad
[cmake] unistd typo fix ( #747 )
7 years ago
Ebrahim Byagowi
29d901286e
[cmake] Build src/ executables ( #733 )
7 years ago
Ebrahim Byagowi
c41b7fc105
[cmake] Use -fvisibility-inlines-hidden instead ( #726 )
7 years ago
Ebrahim Byagowi
3d61576606
[cmake] fix symbol exporting issue on newer gcc ( #724 )
7 years ago
Ebrahim Byagowi
8b60e7c2c3
[ci] minor, less hacks ( #722 )
7 years ago
Ebrahim Byagowi
00806149b9
Improve avoiding C++ linkage, definition creation and cmake tests ( #710 )
7 years ago
Ebrahim Byagowi
90f01bad63
[cmake] don't link to libstdc++ ( #707 )
7 years ago
rdb
5e14e5f65d
[cmake] Fix for CMake 3.0 and below ( #706 )
7 years ago
Ebrahim Byagowi
c97a7eca7f
[cmake] Fix symbols visibility and enable check-symbols.sh test ( #705 )
7 years ago
Ebrahim Byagowi
90e3c9e69e
[cmake] Fix hb-blob test ( #699 )
7 years ago
Ebrahim Byagowi
e24bea8e91
[cmake] Another try on making sure feature testing is working ( #691 )
7 years ago
Ebrahim Byagowi
71e0ed9cba
[cmake] Add header existence tests ( #685 )
7 years ago