Consider `*.cc` and `*.hh` files formatable
This commit is contained in:
parent
b16fff4b0a
commit
2de07d4cd0
|
@ -327,7 +327,7 @@ set(FORMATABLE_FILES
|
||||||
${EXCLUDED_FILES})
|
${EXCLUDED_FILES})
|
||||||
# only format C/C++ files (and not eg. QML files)
|
# only format C/C++ files (and not eg. QML files)
|
||||||
if (FORMATABLE_FILES)
|
if (FORMATABLE_FILES)
|
||||||
list(FILTER FORMATABLE_FILES INCLUDE REGEX ".*\\.(c|cpp|h|hpp)")
|
list(FILTER FORMATABLE_FILES INCLUDE REGEX ".*\\.(c|cc|cpp|h|hh|hpp)")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# determine source files which might be passed to cmake-format
|
# determine source files which might be passed to cmake-format
|
||||||
|
|
Loading…
Reference in New Issue