mirror of
https://github.com/triqs/dft_tools
synced 2025-01-10 21:18:22 +01:00
Always export compile commands to json file
This commit is contained in:
parent
002642f97c
commit
9e442be0e0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user