build: set CMAKE_EXPORT_COMPILE_COMMANDS

Type: make
Change-Id: I8c59c91b4af49efcfcf7544df01b3d20511abe52
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cb05a08..635b663 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,8 @@
 
 project(vpp C)
 
+set(CMAKE_EXPORT_COMPILE_COMMANDS on)
+
 include(CheckCCompilerFlag)
 include(CheckIPOSupported)
 include(cmake/misc.cmake)