CMake config: Enable generation of compile_commands.json
This commit is contained in:
parent
9eddf3d1f8
commit
eda1580ce9
|
|
@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(osmpbf VERSION 1.5.0)
|
project(osmpbf VERSION 1.5.0)
|
||||||
|
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
# This is needed for the protobuf_generate_cpp() function to work on newer
|
# This is needed for the protobuf_generate_cpp() function to work on newer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue