mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
build: export compile_commands.json (#3968)
Allows LSP's like clangd to work.
This commit is contained in:
parent
8a5b0955de
commit
f70027cbdc
@ -22,6 +22,8 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS ON)
|
||||
set(CMAKE_C_STANDARD 90)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
option(LIBUV_BUILD_SHARED "Build shared lib" ON)
|
||||
|
||||
cmake_dependent_option(LIBUV_BUILD_TESTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user