added set\(CMAKE_EXPORT_COMPILE_COMMANDS, ON\) to cmake build system to allow prototype checking tool to work

This commit is contained in:
Stephen Gaito 2019-06-28 08:45:05 +01:00
parent 21115c3adf
commit b9c9950191
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
compile_commands.json
CMakeCache.txt
CMakeFiles/*
cmake_install.cmake

View File

@ -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)