diff options
author | Damjan Marion <damarion@cisco.com> | 2021-05-05 10:24:38 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2021-05-05 13:11:27 +0200 |
commit | 49a2925b1b61bd08770a3c268aacb52fafa5631c (patch) | |
tree | 5232979826530484b0af60fddf2741de0e3eb797 /src/CMakeLists.txt | |
parent | a7e830ed468f35590871988e68153222325870b8 (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.txt | 2 |
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) |