diff options
author | Damjan Marion <damarion@cisco.com> | 2018-08-26 11:04:40 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-08-26 13:50:53 +0200 |
commit | 4553c95ab7cac75838433fdd5cd3c0d0c1d6e2e6 (patch) | |
tree | 248b50ad7df32be9f1662920ed9c322e23de6b91 /src/CMakeLists.txt | |
parent | d16004d56c22635a0e21b177933dc39b65a3642a (diff) |
cmake: add add_vpp_library and add_vpp_executable macros
Change-Id: I1382021a6f616571b4b3243ba8c8999239d10815
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cd028cb7d54..0f218cb139d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,20 +53,12 @@ find_package(OpenSSL REQUIRED) include(cmake/memfd.cmake) include(cmake/api.cmake) +include(cmake/library.cmake) +include(cmake/exec.cmake) include(cmake/plugin.cmake) include(cmake/deb.cmake) ############################################################################## -# header files -############################################################################## -function (vpp_add_header_files path) - foreach(file ${ARGN}) - get_filename_component(dir ${file} DIRECTORY) - install(FILES ${file} DESTINATION include/${path}/${dir}) - endforeach() -endfunction() - -############################################################################## # subdirs ############################################################################## foreach (DIR vppinfra svm vlib vlibmemory vlibapi vnet vpp vpp-api vat vcl plugins) |