mirror of
https://github.com/triqs/dft_tools
synced 2025-01-11 05:28: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
|
# Build static libraries
|
||||||
set(BUILD_SHARED_LIBS OFF)
|
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
|
# Enable compiler warnings for the whole project
|
||||||
add_compile_options(-Wall
|
add_compile_options(-Wall
|
||||||
$<$<CONFIG:Debug>:-Og>
|
$<$<CONFIG:Debug>:-Og>
|
||||||
|
Loading…
Reference in New Issue
Block a user