mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 10:25:32 +00:00
Turns out setting `KEYMAN_PROC_CFLAGS` isn't sufficient to use header files from source repo.
29 lines
634 B
Markdown
29 lines
634 B
Markdown
# Keyman engine for IBus
|
|
|
|
## Requirements
|
|
|
|
You need autoconf, autopoint, gettext, automake and libtool to generate the build system.
|
|
|
|
Run `./autogen.sh` to run them.
|
|
|
|
## Building
|
|
|
|
```bash
|
|
./autogen.sh
|
|
./configure
|
|
make
|
|
sudo make install
|
|
```
|
|
|
|
For a debug build:
|
|
|
|
```bash
|
|
./configure CPPFLAGS=-DG_MESSAGES_DEBUG CFLAGS="-g -O0" CXXFLAGS="-g -O0"
|
|
```
|
|
|
|
To use the header files from the source repo, you need to specify paths to the include files in core:
|
|
|
|
```bash
|
|
./configure CPPFLAGS="-DG_MESSAGES_DEBUG -I../../common/core/desktop/build/arch/debug/include/ -I../../common/core/desktop/include/" \
|
|
CFLAGS="-g -O0" CXXFLAGS="-g -O0"
|
|
```
|