filipdutescu / modern-cpp-template

A template for modern C++ projects using CMake, Clang-Format, CI, unit testing and more, with support for downstream inclusion.
The Unlicense
1.69k stars 214 forks source link

How to properly add multiple source and header files in clang-format target? [FEATURE] #21

Closed dadep88 closed 3 years ago

dadep88 commented 3 years ago

Adding new files in SourcesAndHeaders.cmake clang-format target stop working, giving "No such file or directory". It seems only one file can be define for both sources and headers cmake variables.

filipdutescu commented 3 years ago

Thank you for reporting this bug! I am working on a fix, which will be included in the next release of the template! Sorry for the inconvenience caused, in the meantime.