cmake: always export compile commands

This commit is contained in:
Moses Turner 2021-09-29 16:41:28 -05:00 committed by Jakob Bornecrantz
parent 036eb19343
commit 1ee4e0c304

View file

@ -16,6 +16,9 @@ option(XRT_OPENXR_INSTALL_ACTIVE_RUNTIME "Make Monado the default OpenXR runtime
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# So that clangd/Intellisense/Sourcetrail know how to parse our code.
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
###
# Dependencies
###