X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=161e3c57c447fcde19e6604a95987ea62718f5f5;hb=7c44d78ef2e7bf0c8714be4184511ed8f23ff239;hp=09d132ad2ca2cc5fc21fdb9de52bfc6e269c81e6;hpb=847d52882580378a5180e3d05a32249eef6da02e;p=vpp.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 09d132ad2ca..161e3c57c44 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,7 +16,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(vpp C) include(CheckCCompilerFlag) -include(cmake/message.cmake) +include(cmake/misc.cmake) include(cmake/cpu.cmake) include(cmake/ccache.cmake) @@ -97,7 +97,7 @@ 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 cmake + vpp-api tools/vppapigen tools/g2 tools/elftool tools/perftool cmake pkg ) elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") set(SUBDIRS vppinfra) @@ -109,16 +109,6 @@ 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 ############################################################################## @@ -127,6 +117,7 @@ execute_process( COMMAND git rev-parse --show-toplevel OUTPUT_VARIABLE VPP_GIT_TOPLEVEL_DIR OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET ) if (VPP_GIT_TOPLEVEL_DIR)