Browse Source

add compile_commands to all

opengl-renderer-broken
Martin Dørum 4 years ago
parent
commit
051d044dbf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@@ -12,7 +12,7 @@ if(USE_CLANG_TIDY)
endif()

if(CMAKE_EXPORT_COMPILE_COMMANDS)
add_custom_target(compile_commands
add_custom_target(compile_commands ALL
BYPRODUCTS ${CMAKE_CURRENT_SOURCE_DIR}/compile_commands.json
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND

Loading…
Cancel
Save