8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:03:03 +01:00
firebird-mirror/doc/README.build.macosx.md
Adriano dos Santos Fernandes b31d37b787 MacOS: build libicu and static libc++ using vcpkg.
Also improve non-CI build automation.
2023-08-23 23:09:49 -03:00

800 B

Building Firebird on MacOSX

Preparing

MacOS build uses vcpkg installed as git submodule:

git submodule update --init

Install XCode and dependencies with homebrew:

brew install automake autoconf-archive cmake libtool ninja

Configuring

Set necessary environment variables:

export LIBTOOLIZE=glibtoolize
export LIBTOOL=glibtool

In order to get Release build:

./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt

In order to get Debug build:

./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt --enable-developer

Building

make -j4

Testing

make tests -j4
make run_tests

Packaging

make -C gen -B -f make.platform.postfix
make -C gen -B -f Makefile.install