mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
* build: enable clang-tidy by default (#4821) * Apply suggestions from code review * Disable clang-tidy for Android CI build
This commit is contained in:
@@ -71,7 +71,7 @@ option(ENABLE_NLS "Enable native language support" ON)
|
|||||||
option(INSTALL_DOC "Build/install documentation" ON)
|
option(INSTALL_DOC "Build/install documentation" ON)
|
||||||
option(INSTALL_LIB "Install the library" OFF)
|
option(INSTALL_LIB "Install the library" OFF)
|
||||||
tr_auto_option(ENABLE_DEPRECATED "Allow deprecated API use of upstream packages, e.g. GTK" AUTO)
|
tr_auto_option(ENABLE_DEPRECATED "Allow deprecated API use of upstream packages, e.g. GTK" AUTO)
|
||||||
tr_auto_option(RUN_CLANG_TIDY "Run clang-tidy on the code" OFF)
|
tr_auto_option(RUN_CLANG_TIDY "Run clang-tidy on the code" AUTO)
|
||||||
tr_auto_option(USE_SYSTEM_EVENT2 "Use system event2 library" AUTO)
|
tr_auto_option(USE_SYSTEM_EVENT2 "Use system event2 library" AUTO)
|
||||||
tr_auto_option(USE_SYSTEM_DEFLATE "Use system deflate library" AUTO)
|
tr_auto_option(USE_SYSTEM_DEFLATE "Use system deflate library" AUTO)
|
||||||
tr_auto_option(USE_SYSTEM_DHT "Use system dht library" AUTO)
|
tr_auto_option(USE_SYSTEM_DHT "Use system dht library" AUTO)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ android {
|
|||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
abiFilters "arm64-v8a"
|
abiFilters "arm64-v8a"
|
||||||
arguments "-DVCPKG_TARGET_ANDROID=ON", "-DWITH_CRYPTO=openssl"
|
arguments "-DVCPKG_TARGET_ANDROID=ON", "-DWITH_CRYPTO=openssl", "-DRUN_CLANG_TIDY=OFF"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user