trick/docs/documentation/web/Configuring_TRICK_with_Civetweb.md
2022-03-14 12:47:01 -05:00

559 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 install-lib PREFIX=. CAN_INSTALL=1 WITH_WEBSOCKET=1

Configuring Trick with Civetweb

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