trick/docs/documentation/web/Configuring_TRICK_with_Civetweb.md
2021-10-27 14:41:01 -05:00

601 B

Configuring Trick with Civetweb

To configure Trick to support the civetweb web server, you'll need to

  1. Download Civetweb from Github. Where you put the Civetweb directory will be designated as $(CIVETWEB_HOME).

  2. Build the Civetweb library.

  3. Configure Trick.

Building the Civetweb Library

cd $(CIVETWEB_HOME)
make build
make WITH_ALL=1
mv $(CIVETWEB_HOME)/output/build/src/libcivetweb.a $(CIVETWEB_HOME)/lib

Configuring Trick with Civetweb

cd $(TRICK_HOME)
./configure --with-civetweb=$(CIVETWEB_HOME)
make clean
make