summaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn@cisco.com>2019-03-04 18:15:47 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-03-04 18:19:18 +0100
commitca66305af16e2f8d8f271218ea71f132e6c21916 (patch)
treefcb00d13761a7ad59eb7804d4b3b347a72987fde /hicn-plugin
parentaeb2f4efe7f79cbb14bae9e991d39e1df2ff0314 (diff)
[HICN-87] Updated compilation instructions according to the latest changes made in CMakeList.txt
Change-Id: I6c1b4dbf626a1d7db55da2e87cccf784637103ea Signed-off-by: Alberto Compagno <acompagn@cisco.com>
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/hicn-plugin/README.md b/hicn-plugin/README.md
index 448130b51..0ac646eeb 100644
--- a/hicn-plugin/README.md
+++ b/hicn-plugin/README.md
@@ -30,7 +30,7 @@ $ sudo make install
$ cd hicn-plugin
$ mkdir -p build
$ cd build
-$ cmake .. -DVPP_HOME=<vpp dir>/build-root/install-vpp-native/vpp/include/ -DHICN_INSTALL_PREFIX=<vpp src>/build-root/install-vpp-native/vpp/lib
+$ cmake .. -DVPP_HOME=<vpp dir>/build-root/install-vpp-native/vpp -DCMAKE_INSTALL_PREFIX=<vpp src>/build-root/install-vpp-native/vpp
$ make
$ sudo make install
@@ -38,13 +38,13 @@ $ sudo make install
$ cd hicn-plugin
$ mkdir -p build
$ cd build
-$ cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DVPP_HOME=<vpp dir>/build-root/install-vpp_debug-native/vpp/include/ -DHICN_INSTALL_PREFIX=<vpp src>/build-root/install-vpp_debug-native/vpp/lib
+$ cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DVPP_HOME=<vpp dir>/build-root/install-vpp_debug-native/vpp -DCMAKE_INSTALL_PREFIX=<vpp src>/build-root/install-vpp_debug-native/vpp
$ make
$ sudo make install
CMAKE variables:
-- HICN_INSTALL_PREFIX -- set the install directory for the hicn-plugin. This is the common path to the folders vpp_plugins and vpp_api_test_plugins. Default is <vpp install dir>/lib
-- VPP_INSTALL_PLUGIN -- set the install directory for the libhicn_plugin.so. Defatuls id $HICN_INSTALL_PREFIX/vpp_plugins
+- CMAKE_INSTALL_PREFIX -- set the install directory for the hicn-plugin. This is the common path to the lib folder containing vpp_plugins and vpp_api_test_plugins folders. Default is /usr/local.
+- VPP_HOME -- set the directory containing the include and lib directories of vpp.
- HICN_API_TEST_HEADER_FILES -- set the install directory for the header files. Default is <vpp install dir>/include/vpp_plugins/hicn
```
@@ -165,4 +165,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-``` \ No newline at end of file
+```