Compare commits
1 Commits
186d67c4bb
...
5c90828e4e
Author | SHA1 | Date | |
---|---|---|---|
5c90828e4e |
@@ -10,7 +10,7 @@ function(add_format_sources target)
|
||||
|
||||
find_program(UNCRUSTIFY_EXE NAMES uncrustify)
|
||||
if(UNCRUSTIFY_EXE)
|
||||
list(APPEND UNCRUSTIFY_OPTS -lCPP --replace --no-backup)
|
||||
list(APPEND UNCRUSTIFY_OPTS --replace --no-backup)
|
||||
if(EXISTS ${CMAKE_SOURCE_DIR}/cmake/etc/uncrustify/default.cfg)
|
||||
list(APPEND UNCRUSTIFY_OPTS -c ${CMAKE_SOURCE_DIR}/cmake/etc/uncrustify/default.cfg)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user