From ca66305af16e2f8d8f271218ea71f132e6c21916 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Mon, 4 Mar 2019 18:15:47 +0100 Subject: [HICN-87] Updated compilation instructions according to the latest changes made in CMakeList.txt Change-Id: I6c1b4dbf626a1d7db55da2e87cccf784637103ea Signed-off-by: Alberto Compagno --- hicn-plugin/README.md | 10 +++++----- 1 file 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=/build-root/install-vpp-native/vpp/include/ -DHICN_INSTALL_PREFIX=/build-root/install-vpp-native/vpp/lib +$ cmake .. -DVPP_HOME=/build-root/install-vpp-native/vpp -DCMAKE_INSTALL_PREFIX=/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=/build-root/install-vpp_debug-native/vpp/include/ -DHICN_INSTALL_PREFIX=/build-root/install-vpp_debug-native/vpp/lib +$ cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DVPP_HOME=/build-root/install-vpp_debug-native/vpp -DCMAKE_INSTALL_PREFIX=/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 /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 /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 +``` -- cgit 1.2.3-korg