diff --git a/CMakeLists.txt b/CMakeLists.txt index 54974088bfb9a63a349a6cc41f1fa0c711ed4d54..66100fb4bbcb9bac88cea185afe9f8345d6a66a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/utils/cmake/") set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(THREADS_PREFER_PTHREAD_FLAG ON) set(CMAKE_COLOR_MAKEFILE ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) include(TestBigEndian) # Needed for endianness tests include(GNUInstallDirs) # Needed for installation things diff --git a/README.md b/README.md index 78830b10e474bf58b6f7d8fbaa147444246c8d54..c54cf378ec922a1ced00e17ac88de1bbdc1152ca 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ The manual way of installing and setting up lektor: cmake -Bbuild \ -DCMAKE_C_COMPILER=clang \ # Choose the compiler -DCMAKE_CXX_COMPILER=clang++ \ # Choose the compiler - -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ # For clangd/ccls -DCMAKE_BUILD_TYPE=Debug # The debug stuff ```