summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-05 10:24:38 +0200
committerDamjan Marion <damarion@cisco.com>2021-05-05 13:11:27 +0200
commit49a2925b1b61bd08770a3c268aacb52fafa5631c (patch)
tree5232979826530484b0af60fddf2741de0e3eb797 /src/CMakeLists.txt
parenta7e830ed468f35590871988e68153222325870b8 (diff)
build: set CMAKE_EXPORT_COMPILE_COMMANDS
Type: make Change-Id: I8c59c91b4af49efcfcf7544df01b3d20511abe52 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cb05a087b6c..635b663252c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,8 @@ set(CMAKE_C_COMPILER_NAMES
project(vpp C)
+set(CMAKE_EXPORT_COMPILE_COMMANDS on)
+
include(CheckCCompilerFlag)
include(CheckIPOSupported)
include(cmake/misc.cmake)