diff --git a/.gitignore b/.gitignore index 4a09c0f..19fb396 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +compile_commands.json CMakeCache.txt CMakeFiles/* cmake_install.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 135e02f..9ebba7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ # leave this above project(pdf2htmlEX) # set default build type to Release +set(CMAKE_EXPORT_COMPILE_COMMANDS, ON) set(CMAKE_BUILD_TYPE Release CACHE STRING "Build configuration (Debug, Release, RelWithDebInfo, MinSizeRel)") project(pdf2htmlEX)