diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-22 11:42:44 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-26 12:42:14 +0200 |
commit | 06a51713f6682032c303c596733f8603573193a3 (patch) | |
tree | 1636cafc60640e2a025e2d2f4e0625d20578f754 /CMakeLists.txt | |
parent | 4172076d92a2c423761a810014f187d7f4a33bf6 (diff) | |
download | qtlocation-mapboxgl-06a51713f6682032c303c596733f8603573193a3.tar.gz |
[build] Set CMAKE_EXPORT_COMPILE_COMMANDS=ON by default
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5db8b45894..f3585dd104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Required to avoid warnings when setting visibility cmake_policy(SET CMP0063 NEW) |