Skip to content

Add WITH_EXPERIMENTAL cmake option

grant requested to merge experimental-option into main

This MR adds the WITH_EXPERIMENTAL cmake option. When the option is set to OFF, the build system avoids downloading, compiling, and linking unused features including i2p, go, pluggable transports, and obfs4 (lampshade is also include inside the option, but it was already commented out, so I left it like that).

Setting the option to ON in the cmake configure step allows the features to be compiled just as they were in older releases.

By default this flag will be set to OFF. If you want to build with the experimental features, you should can define the option and build normally like so,

cmake ../ouinet -DWITH_EXPERIMENTAL=ON
cmake --build .

Merge request reports