BlueBrain / hpc-coding-conventions

Apache License 2.0
7 stars 5 forks source link

Prevent duplicating CMake targets #127

Closed tristan0x closed 2 years ago

tristan0x commented 2 years ago

Suffix ClangFormat CMake targets with -${PROJECT_NAME} and add top-level empty targets that depend on them. It allows a CMake project to use a nested CMake project when they are both using the hpc-coding-conventions

Also, apply this to CMakeFormat and ClangTidy targets.

Fixes #103