mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-07-06 21:10:51 +03:00
TMP / wip clang-tidy
This commit is contained in:
12
tools/clang-tidy/clang-tidy.cmake
Normal file
12
tools/clang-tidy/clang-tidy.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
if (DEV_MODE)
|
||||
find_program(clang_tidy_EXECUTABLE NAMES clang-tidy-13 clang-tidy)
|
||||
|
||||
#list(APPEND clang_tidy_command "${clang_tidy_EXECUTABLE}")
|
||||
message(NOTICE ${clang_tidy_EXECUTABLE})
|
||||
|
||||
add_custom_command(TARGET progressia PRE_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E echo
|
||||
"Clang-tidy is enabled")
|
||||
|
||||
|
||||
endif()
|
2
tools/clang-tidy/use-clang-tidy.py
Normal file
2
tools/clang-tidy/use-clang-tidy.py
Normal file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env python3
|
||||
|
Reference in New Issue
Block a user