build(cmake): export compile commands (#3894)
This commit is contained in:
parent
9effeba5fe
commit
5e049e3c61
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ endif()
|
|||
# set the module path, used for includes
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
# export compile_commands.json
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# set version info for this build
|
||||
include(${CMAKE_MODULE_PATH}/prep/build_version.cmake)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue