diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e43d8fb..77d07ffa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ project(ELOG) # C++ version set(CMAKE_CXX_STANDARD 17) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # compile options option(USE_SSL "Use OpenSSL library for https" ON) diff --git a/compile_commands.json b/compile_commands.json new file mode 120000 index 00000000..25eb4b2b --- /dev/null +++ b/compile_commands.json @@ -0,0 +1 @@ +build/compile_commands.json \ No newline at end of file