mirror of
https://github.com/kakwa/uts-server
synced 2024-11-04 17:08:49 +01:00
39 lines
729 B
ReStructuredText
39 lines
729 B
ReStructuredText
Dependencies
|
|
============
|
|
|
|
Runtime dependencies
|
|
--------------------
|
|
|
|
List of dependencies uts-server relies on to run:
|
|
|
|
* `OpenSSL <https://github.com/openssl/openssl>`_.
|
|
* `civetweb <https://github.com/civetweb/civetweb>`_.
|
|
|
|
Build dependencies
|
|
------------------
|
|
|
|
List of dependencies needed to build civetweb:
|
|
|
|
* cmake
|
|
* either gcc or clang
|
|
|
|
Compilation
|
|
===========
|
|
|
|
uts-server is compiled using cmake:
|
|
|
|
.. sourcecode:: bash
|
|
|
|
# If civetweb is already present on the system
|
|
$ cmake .
|
|
$ make
|
|
|
|
# If civetweb is not present
|
|
# this will get the proper tag of civetweb from upstream and compile it
|
|
$ cmake . -DBUNDLE_CIVETWEB=ON
|
|
$ make
|
|
|
|
# Compile with debug flags
|
|
$ cmake . -DDEBUG=ON
|
|
$ make
|