mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
b31d37b787
Also improve non-CI build automation.
57 lines
800 B
Markdown
57 lines
800 B
Markdown
# 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
|
|
```
|