summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)