From 98bd75778736d4322db5ee7ecf5c548133e05d0f Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 10 Feb 2020 10:16:40 -0500 Subject: vppinfra: add cmake option to grow vectors by 1 For debugging. Do not set this option in production. Type: feature Signed-off-by: Dave Barach Change-Id: I5e59671c4932e064bc087b85bf9c62c6f3bf48cf --- src/vppinfra/config.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vppinfra/config.h.in') diff --git a/src/vppinfra/config.h.in b/src/vppinfra/config.h.in index 1a8e03184a9..7aad027a8b6 100644 --- a/src/vppinfra/config.h.in +++ b/src/vppinfra/config.h.in @@ -21,4 +21,6 @@ #endif #define CLIB_TARGET_TRIPLET "@CMAKE_C_COMPILER_TARGET@" +#define CLIB_VECTOR_GROW_BY_ONE @VECTOR_GROW_BY_ONE@ + #endif -- cgit 1.2.3-korg