aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/elftool/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-28 13:35:58 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-28 13:40:44 +0200
commite7e5de0693a7a40f96d9410d103a64c8cdc51441 (patch)
tree0ec17ea1af43d0aeea14a836715f960f08a4b9cf /src/tools/elftool/CMakeLists.txt
parent0abd4a2e0ed48125eeeaae5c40d55269ae75dbcb (diff)
cmake: add g2 and elftool tools
Change-Id: I901c5a2c0ac81421a69b8ade9307c304aa38582b Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/tools/elftool/CMakeLists.txt')
-rw-r--r--src/tools/elftool/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tools/elftool/CMakeLists.txt b/src/tools/elftool/CMakeLists.txt
new file mode 100644
index 00000000000..d85c2b56c59
--- /dev/null
+++ b/src/tools/elftool/CMakeLists.txt
@@ -0,0 +1,17 @@
+# 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.
+
+add_vpp_executable(elftool
+ SOURCES elftool.c
+ LINK_LIBRARIES vppinfra
+)