2.0.7
This commit is contained in:
parent
0f2d983a15
commit
7c5bef2913
@ -1,4 +1,4 @@
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.0.6")
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.0.7")
|
||||
if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
@ -23,7 +23,11 @@ function(myxx_analyze_clazy target)
|
||||
cmake_parse_arguments(ARG "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
if(NOT ARG_CHECKS)
|
||||
set(ARG_CHECKS "level2,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,isempty-vs-count,qt-keywords,unneeded-cast")
|
||||
set(ARG_CHECKS
|
||||
"level2,container-inside-loop,detaching-member,heap-allocated-small-trivial-type,\
|
||||
isempty-vs-count,qproperty-type-mismatch,qstring-varargs,qt6-deprecated-api-fixes,\
|
||||
qt6-fwd-fixes,qt6-qlatin1stringchar-to-u,qt-keywords,signal-with-return-value,\
|
||||
thread-with-slots,tr-non-literal,unneeded-cast,use-chrono-in-qtimer")
|
||||
endif()
|
||||
|
||||
set(args -checks=${ARG_CHECKS}
|
||||
|
@ -31,11 +31,20 @@ function(myxx_analyze_pvs_studio target)
|
||||
endif()
|
||||
|
||||
if(NOT ARG_MODE)
|
||||
set(ARG_MODE "GA:1,2,3;64:1,2,3;OP:1,2,3;CS:1,2,3;OWASP:1,2,3")
|
||||
set(ARG_MODE "GA:1,2,3;64:1,2;OP:1,2,3;CS:1,2;OWASP:1,2")
|
||||
endif()
|
||||
|
||||
get_target_property(sources ${target} SOURCES)
|
||||
foreach(iter ${sources})
|
||||
string(FIND ${iter} ${CMAKE_BINARY_DIR} pos)
|
||||
if(pos EQUAL -1)
|
||||
list(APPEND srcs ${iter})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
pvs_studio_add_target(TARGET ${target}-analyze-pvs-studio
|
||||
ANALYZE ${target}
|
||||
COMPILE_COMMANDS
|
||||
HIDE_HELP
|
||||
OUTPUT
|
||||
FORMAT errorfile
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Библиотека дополнительных функций для CMake
|
||||
# Библиотека дополнительных функций для сопровождения проекта на CMake
|
||||
|
||||
## Установка
|
||||
|
||||
Скачать [пакет](../../../releases/download/2.0.6/myxx-cmake_2.0.6_all.deb)
|
||||
для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.0.6_all.deb`
|
||||
или [архив](../../../releases/download/2.0.6/myxx-cmake-local-2.0.6.tar.xz)
|
||||
Скачать [пакет](../../../releases/download/2.0.7/myxx-cmake_2.0.7_all.deb)
|
||||
для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.0.7_all.deb`,
|
||||
или [архив](../../../releases/download/2.0.7/myxx-cmake-local-2.0.7.tar.xz)
|
||||
и распаковать его в каталог `$HOME/.local/share/cmake`.
|
||||
|
||||
## Использование
|
||||
|
2
debian/CMakeLists.txt
vendored
2
debian/CMakeLists.txt
vendored
@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.6 FATAL_ERROR)
|
||||
project(myxx-cmake VERSION 2.0.6 LANGUAGES)
|
||||
project(myxx-cmake VERSION 2.0.7 LANGUAGES)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
file(WRITE ${CMAKE_SOURCE_DIR}/MyxxCMake/MyxxCMakeConfigVersion.cmake
|
||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
myxx-cmake (2.0.6) unstable; urgency=medium
|
||||
myxx-cmake (2.0.7) unstable; urgency=medium
|
||||
|
||||
* New version.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user