Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 539 Bytes

FLAGS.md

File metadata and controls

25 lines (16 loc) · 539 Bytes

Feature Flags

Enabling / Disabling Protocol Support

The protocols supported by nchat is controlled by the following cmake flags:

HAS_DUMMY=ON
HAS_TELEGRAM=ON
HAS_WHATSAPP=ON

It is possible to enable / disable protocols by passing one or multiple flags to cmake:

mkdir -p build && cd build
cmake -DHAS_WHATSAPP=OFF .. && make -s

Similarly the make.sh script provides options, example:

./make.sh --no-telegram build

and

./make.sh --no-whatsapp build