8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00
firebird-mirror/doc/README.build.macosx.md

57 lines
800 B
Markdown
Raw Normal View History

# Building Firebird on MacOSX
## Preparing
MacOS build uses `vcpkg` installed as git submodule:
```bash
git submodule update --init
```
Install XCode and dependencies with `homebrew`:
```bash
brew install automake autoconf-archive cmake libtool ninja
```
## Configuring
Set necessary environment variables:
```bash
export LIBTOOLIZE=glibtoolize
export LIBTOOL=glibtool
```
In order to get Release build:
```bash
./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt
```
In order to get Debug build:
```bash
./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt --enable-developer
```
## Building
```bash
make -j4
```
## Testing
```bash
make tests -j4
make run_tests
```
## Packaging
```bash
make -C gen -B -f make.platform.postfix
make -C gen -B -f Makefile.install
```