From 87a7e90e58a795c40afe6acfe96859f5aff6a2c9 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Mon, 28 Jan 2019 11:36:44 +0100 Subject: update packaging - fix minor issues - add optional parameters to build ZIP and TGZ packages - updated list of supported OS - updated documentation Change-Id: Ie4ee73fc77232c6bd35644cdd8bb67bb4df42d93 Signed-off-by: Michal Cmarada --- docs/jvpp.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/jvpp.rst b/docs/jvpp.rst index 4fbeb39..7e07b80 100644 --- a/docs/jvpp.rst +++ b/docs/jvpp.rst @@ -52,6 +52,23 @@ from JVPP's root directory: cmake . This will configure all variables and setup the build. +If needed there are several optional parameters that can be set. You can list all configuration parameters using: + +.. code-block:: console + + cmake -LH + +as an example you can enable packaging using ZIP or TGZ. DEB or RPM packages are automatically configured based on OS. +To enable packaging using ZIP or TGZ (or both) add optional parameter to cmake like this: + +.. code-block:: console + + cmake -DPackZip=ON -DPackTgz=ON . + +.. note:: + + PackZip, PackTgz are boolean variables. You can use "1, ON, YES, TRUE, Y, or a non-zero number" to enable + or "0, OFF, NO, FALSE, N, IGNORE, NOTFOUND" to disable these options. Building the source ------------------- @@ -62,7 +79,7 @@ To build the source use make command: make -You can also install the library using (you need to use sudo or have root privileges to install libraries): +You can also install the library (Optional) using (you need to use sudo or have root privileges to install libraries): .. code-block:: console -- cgit 1.2.3-korg