зеркало из https://github.com/mozilla/cubeb.git
Generate compile_commands.json while building
This commit is contained in:
Родитель
46f10c2eea
Коммит
3f86a06fce
|
@ -21,6 +21,7 @@ endif()
|
||||||
set(CMAKE_C_STANDARD 99)
|
set(CMAKE_C_STANDARD 99)
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
if(USE_SANITIZERS)
|
if(USE_SANITIZERS)
|
||||||
if(NOT COMMAND add_sanitizers)
|
if(NOT COMMAND add_sanitizers)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче