aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2023-08-25 10:29:05 -0400
committerPaul Adenot <[email protected]>2023-08-25 10:41:03 -0400
commitdc519d1a300336b8848644b8475ab8dc59c2e31b (patch)
tree78ccc992e459b48020b1705edab3be040cd9fe50
parented15caf17ac566f8bb78b429a6ee7c4d3eb1fa0c (diff)
downloadcubeb-opensl-float-conversion.tar.gz
cubeb-opensl-float-conversion.zip
Generate compile_commands.json while buildingopensl-float-conversion
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e10a99f..2d88f13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,7 @@ endif()
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if(USE_SANITIZERS)
if(NOT COMMAND add_sanitizers)