Sfoglia il codice sorgente

add compile_commands to all

opengl-renderer-broken
Martin Dørum 4 anni fa
parent
commit
051d044dbf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt Vedi 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…
Annulla
Salva