3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-25 06:32:22 +02:00

Always export compile commands to json file

This commit is contained in:
Nils Wentzell 2018-11-26 12:03:54 -05:00
parent 002642f97c
commit 9e442be0e0

View File

@ -14,6 +14,9 @@ message( STATUS "-------- BUILD-TYPE: ${CMAKE_BUILD_TYPE} --------")
# Build static libraries
set(BUILD_SHARED_LIBS OFF)
# Export the list of compile-commands into compile_commands.json
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Enable compiler warnings for the whole project
add_compile_options(-Wall
$<$<CONFIG:Debug>:-Og>