Merge branch 'add_export_compilecommands' into 'master'

add CMAKE_EXPORT_COMPILE_COMMANDS

See merge request jschoeberl/netgen!181
This commit is contained in:
Joachim Schöberl 2019-07-19 11:16:38 +00:00
commit c454163821

View File

@ -34,6 +34,8 @@ option( USE_SUPERBUILD "use ccache" ON)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_modules")
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
if(APPLE)
set(INSTALL_DIR_DEFAULT /Applications/Netgen.app)
else(APPLE)