diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-01-28 11:36:44 +0100 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-01-28 11:36:44 +0100 |
commit | 87a7e90e58a795c40afe6acfe96859f5aff6a2c9 (patch) | |
tree | 7aa0f6091659c8152331872b68fc8cfe9692457e /docs | |
parent | fbce6e89a1bb5dad6b3cde92d68d9b6270c5b44f (diff) |
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 <mcmarada@cisco.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/jvpp.rst | 19 |
1 files changed, 18 insertions, 1 deletions
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 |