Parcourir la source

add compile_commands to all

opengl-renderer-broken
Martin Dørum il y a 4 ans
Parent
révision
051d044dbf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt Voir le fichier

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

Chargement…
Annuler
Enregistrer