1
0
mirror of https://github.com/kakwa/uts-server synced 2024-07-01 16:12:56 +02:00
uts-server/docs/install.rst

49 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2016-09-10 12:03:03 +02:00
Dependencies
============
Runtime dependencies
--------------------
List of dependencies uts-server relies on to run:
2016-09-11 19:14:40 +02:00
* `OpenSSL <https://github.com/openssl/openssl>`_.
* `civetweb <https://github.com/civetweb/civetweb>`_.
2016-09-10 12:03:03 +02:00
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
# Compile statically
$ cmake . -DSTATIC=ON
$ make
# Sometimes it might be necessary to link against glibc/dl.
# In that case, the resulting binary is only partially static,
# but it's not possible to do better than that.
$ cmake . -DSTATIC=ON -DLINK_DL=ON
$ make