Ver código fonte

add compile_commands to all

opengl-renderer-broken
Martin Dørum 4 anos atrás
pai
commit
051d044dbf
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar