mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 17:56:12 -04:00
build: add tidy-fix
target
This commit is contained in:
parent
77834faf75
commit
0cfeea7dd3
@ -975,6 +975,13 @@ add_custom_target(
|
||||
-header-filter='.*/include/dwarfs/.*'
|
||||
USES_TERMINAL)
|
||||
|
||||
add_custom_target(
|
||||
tidy-fix
|
||||
COMMAND run-clang-tidy -p ${CMAKE_BINARY_DIR} -quiet -use-color -fix
|
||||
-source-filter='.*/src/.*'
|
||||
-header-filter='.*/include/dwarfs/.*'
|
||||
USES_TERMINAL)
|
||||
|
||||
if(STATIC_BUILD_DO_NOT_USE OR APPLE)
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Release|MinSizeRel")
|
||||
foreach(tgt ${BINARY_TARGETS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user