Compare commits

...

4 Commits

Author SHA1 Message Date
75cde136ba 2.4.34 2024-04-08 23:36:21 +03:00
2132fbf6b9 2.4.34 2024-04-08 23:35:56 +03:00
c054ac8e78 2.4.34 2024-04-08 23:35:29 +03:00
e735546b2d Цели для PVS-Studio 2024-04-08 23:35:00 +03:00
7 changed files with 26 additions and 13 deletions

View File

@ -28,8 +28,9 @@ pack:
tar acf $(BUILD_DIR)/myxx-cmake-local-$(V).tar.xz MyxxCMake tar acf $(BUILD_DIR)/myxx-cmake-local-$(V).tar.xz MyxxCMake
upload: upload:
# git tag -d $(V)
git tag $(V) git tag $(V)
tea r c --repo cmake/myxx -t $(V) --tag $(V) \ gitea-tea r c --repo cmake/myxx -t $(V) --tag $(V) \
-a $(BUILD_DIR)/myxx-cmake_$(V).dsc \ -a $(BUILD_DIR)/myxx-cmake_$(V).dsc \
-a $(BUILD_DIR)/myxx-cmake_$(V).tar.xz \ -a $(BUILD_DIR)/myxx-cmake_$(V).tar.xz \
-a $(BUILD_DIR)/myxx-cmake_$(V)_all.deb \ -a $(BUILD_DIR)/myxx-cmake_$(V)_all.deb \

View File

@ -48,28 +48,40 @@ function(myxx)
get_target_property(__target_type ${__iter} TYPE) get_target_property(__target_type ${__iter} TYPE)
if((NOT ${__target_type} STREQUAL "UTILITY") AND if((NOT ${__target_type} STREQUAL "UTILITY") AND
(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY") AND
(NOT ${__iter} MATCHES ".*_shared$" ) AND (NOT ${__iter} MATCHES ".*_shared$" ) AND
(NOT ${__iter} MATCHES ".*_static$" ) (NOT ${__iter} MATCHES ".*_static$" )
) )
myxx_code_coverage(${__iter}) myxx_analyze_pvs_studio(${__iter})
if(MYXX_CMAKE_CLANG_TIDY_FIX) if(MYXX_CMAKE_CLANG_TIDY_FIX)
myxx_analyze_clang_tidy(${__iter} FIX)
else()
myxx_analyze_clang_tidy(${__iter}) myxx_analyze_clang_tidy(${__iter})
endif() endif()
if(MYXX_CMAKE_CLANG_TIDY_NAMING_FIX) if(MYXX_CMAKE_CLANG_TIDY_NAMING_FIX)
myxx_analyze_clang_tidy_naming(${__iter} FIX)
else()
myxx_analyze_clang_tidy_naming(${__iter}) myxx_analyze_clang_tidy_naming(${__iter})
endif() endif()
if(MYXX_CMAKE_CLANG_CHECK_FIX) if(MYXX_CMAKE_CLANG_CHECK_FIX)
myxx_analyze_clang_check(${__iter} FIX)
else()
myxx_analyze_clang_check(${__iter}) myxx_analyze_clang_check(${__iter})
endif() endif()
if(MYXX_CMAKE_CLAZY_FIX) if(MYXX_CMAKE_CLAZY_FIX)
myxx_analyze_clazy(${__iter} FIX) myxx_analyze_clazy(${__iter} FIX)
else() else()
myxx_analyze_clazy(${__iter}) myxx_analyze_clazy(${__iter})
endif() endif()
myxx_analyze_pvs_studio(${__iter})
myxx_add_sanitizers(${__iter}) if(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY")
myxx_code_coverage(${__iter})
myxx_add_sanitizers(${__iter})
endif()
endif() endif()
endforeach() endforeach()
endfunction(myxx) endfunction(myxx)

View File

@ -1,4 +1,4 @@
set(MYXX_CMAKE_PACKAGE_VERSION "2.4.32") set(MYXX_CMAKE_PACKAGE_VERSION "2.4.34")
if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE) set(PACKAGE_VERSION_COMPATIBLE FALSE)
else() else()

View File

@ -2,9 +2,9 @@
## Установка ## Установка
Скачать [пакет](../../../releases/download/2.4.32/myxx-cmake_2.4.32_all.deb) Скачать [пакет](../../../releases/download/2.4.34/myxx-cmake_2.4.34_all.deb)
для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.4.32_all.deb`, для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.4.34_all.deb`,
или [архив](../../../releases/download/2.4.32/myxx-cmake-local-2.4.32.tar.xz) или [архив](../../../releases/download/2.4.34/myxx-cmake-local-2.4.34.tar.xz)
и распаковать его в каталог `$HOME/.local/share/cmake`. и распаковать его в каталог `$HOME/.local/share/cmake`.
## Использование ## Использование

View File

@ -1 +1 @@
2.4.32 2.4.34

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.6 FATAL_ERROR) cmake_minimum_required(VERSION 3.6 FATAL_ERROR)
project(myxx-cmake VERSION 2.4.32 LANGUAGES) project(myxx-cmake VERSION 2.4.34 LANGUAGES)
include(GNUInstallDirs) include(GNUInstallDirs)
file(WRITE ${CMAKE_SOURCE_DIR}/MyxxCMake/MyxxCMakeConfigVersion.cmake file(WRITE ${CMAKE_SOURCE_DIR}/MyxxCMake/MyxxCMakeConfigVersion.cmake

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
myxx-cmake (2.4.32) unstable; urgency=medium myxx-cmake (2.4.34) unstable; urgency=medium
* New version. * New version.