aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-19 21:18:14 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-19 21:18:14 +0100
commit6d13f4de5bf09085bfa76784a91e90b57be59a10 (patch)
treeda477c4e78ce59f7bac153dccce5152f0c2dea45 /CMakeLists.txt
parente839aa631832a797c732d54fa1ff2a9631af00c1 (diff)
downloadodr-edilib-6d13f4de5bf09085bfa76784a91e90b57be59a10.tar.gz
odr-edilib-6d13f4de5bf09085bfa76784a91e90b57be59a10.tar.bz2
odr-edilib-6d13f4de5bf09085bfa76784a91e90b57be59a10.zip
Generate compile_commands.json
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04cea23..8ca090c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,7 @@
cmake_minimum_required(VERSION 2.8)
project(edilib CXX C)
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Select the release build type by default to get optimization flags
if(NOT CMAKE_BUILD_TYPE)