summaryrefslogtreecommitdiffstats
path: root/v3po/features
AgeCommit message (Expand)AuthorFilesLines
2016-05-24HONEYCOMB-63: bump ODL dependencies to BE-SR2Marek Gradzki2-8/+9
2016-05-24HONEYCOMB-61: Extend VPP initializers to initialize everything readers provideMaros Marsalek1-0/+1
2016-05-24HONEYCOMB-61: Restore configuration and context from persisted filesMaros Marsalek2-0/+8
2016-05-23HONEYCOMB-61: Add context data treeMaros Marsalek2-0/+8
2016-05-19Bump jvpp version to 16.09-SNAPSHOTMaros Marsalek2-2/+2
2016-05-05HONEYCOMB-10: Porting v3po2vpp to the new Java APIMarek Gradzki2-6/+6
2016-04-13HONEYCOMB-9: Remove initial Honeycomb pipelineMaros Marsalek2-0/+8
2016-04-12HONEYCOMB-34: Initializers. Initial versionMarek Gradzki2-0/+6
2016-04-12HONEYCOMB-9: Add configuration and wiring for readers and writersMaros Marsalek2-5/+21
2016-04-12HONEYCOMB-8: Move data layer from impl module into submodulesMaros Marsalek2-0/+18
2016-04-12HONEYCOMB-9: Remove references to VPP from translation layerMaros Marsalek2-8/+14
2016-04-12HONEYCOMB-9: Split impl module into smaller partsMaros Marsalek2-0/+30
2016-03-31Dedicated NETCONF north interface for v3poMaros Marsalek2-0/+8
2016-03-08Fix pom files to use Beryllium Release VersionsEd Warnicke1-6/+6
2016-01-30Initial honeycomb code commit.Ed Warnicke2-0/+189
light .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# 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.

get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)

find_path(VPP_INCLUDE_DIR PATH_SUFFIXES NAMES vppinfra/clib.h)
find_program(VPP_APIGEN vppapigen)
find_program(VPP_VAPI_C_GEN vapi_c_gen.py)
find_program(VPP_VAPI_CPP_GEN vapi_cpp_gen.py)

if(VPP_INCLUDE_DIR AND VPP_APIGEN)
  include_directories (${VPP_INCLUDE_DIR})
else()
  message(FATAL_ERROR "VPP headers, libraries and/or tools not found")
endif()

set(VPP_EXTERNAL_PROJECT 1)

include(CheckCCompilerFlag)

check_c_compiler_flag("-Wno-address-of-packed-member" compiler_flag_no_address_of_packed_member)
if (compiler_flag_no_address_of_packed_member)
  add_definitions(-Wno-address-of-packed-member)
endif()

set(VPP_RUNTIME_DIR "bin" CACHE STRING "Relative runtime directory path")
set(VPP_LIBRARY_DIR "lib" CACHE STRING "Relative library directory path")

include(${CMAKE_CURRENT_LIST_DIR}/cpu.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/api.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/library.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/plugin.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/pack.cmake)