X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=f6bad2ce1331eb6ef0e4a7637f5dd579da16edf6;hb=2f459d728b5cbd6d5a945a440afd7ef110e82505;hp=420725a5f229c872abca690429f917e3d4bc261b;hpb=79dcbc74cd417f4caf41bc398ccba94cab7d656b;p=vpp.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 420725a5f22..f6bad2ce133 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -75,7 +75,8 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") find_package(OpenSSL REQUIRED) set(SUBDIRS vppinfra svm vlib vlibmemory vlibapi vnet vpp vat vcl plugins - vpp-api tools/vppapigen tools/g2 tools/elftool tools/perftool) + vpp-api tools/vppapigen tools/g2 tools/elftool tools/perftool cmake + ) elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") set(SUBDIRS vppinfra) else() @@ -86,7 +87,16 @@ foreach(DIR ${SUBDIRS}) add_subdirectory(${DIR}) endforeach() +############################################################################## +# packaging +############################################################################## include(cmake/pack.cmake) +add_vpp_packaging( + NAME "vpp" + VENDOR "fd.io" + DESCRIPTION "Vector Packet Processor" +) + ############################################################################## # detect if we are inside git repo and add configure dependency ##############################################################################