Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: refactor of port/address allocation functions
[vpp.git]
/
src
/
plugins
/
nat
/
CMakeLists.txt
diff --git
a/src/plugins/nat/CMakeLists.txt
b/src/plugins/nat/CMakeLists.txt
index
372bbd6
..
edba893
100644
(file)
--- a/
src/plugins/nat/CMakeLists.txt
+++ b/
src/plugins/nat/CMakeLists.txt
@@
-11,6
+11,21
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+set(NAT_SRCS
+ lib/alloc.c
+)
+
+set(NAT_HEADERS
+ lib/alloc.h
+)
+
+add_vpp_library(nat
+ SOURCES ${NAT_SRCS}
+ LINK_LIBRARIES m
+ INSTALL_HEADERS ${NAT_HEADERS}
+ COMPONENT libnat
+)
+
add_vpp_plugin(nat
SOURCES
nat.c
add_vpp_plugin(nat
SOURCES
nat.c