Compare commits
No commits in common. "75cde136ba20975f4b3bdc79aa206de5bba3e0c3" and "3b9e0373b5a81f439661a21511b17579aacf0275" have entirely different histories.
75cde136ba
...
3b9e0373b5
3
Makefile
3
Makefile
@ -28,9 +28,8 @@ pack:
|
||||
tar acf $(BUILD_DIR)/myxx-cmake-local-$(V).tar.xz MyxxCMake
|
||||
|
||||
upload:
|
||||
# git tag -d $(V)
|
||||
git tag $(V)
|
||||
gitea-tea r c --repo cmake/myxx -t $(V) --tag $(V) \
|
||||
tea r c --repo cmake/myxx -t $(V) --tag $(V) \
|
||||
-a $(BUILD_DIR)/myxx-cmake_$(V).dsc \
|
||||
-a $(BUILD_DIR)/myxx-cmake_$(V).tar.xz \
|
||||
-a $(BUILD_DIR)/myxx-cmake_$(V)_all.deb \
|
||||
|
@ -48,40 +48,28 @@ function(myxx)
|
||||
get_target_property(__target_type ${__iter} TYPE)
|
||||
|
||||
if((NOT ${__target_type} STREQUAL "UTILITY") AND
|
||||
(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY") AND
|
||||
(NOT ${__iter} MATCHES ".*_shared$" ) AND
|
||||
(NOT ${__iter} MATCHES ".*_static$" )
|
||||
)
|
||||
myxx_analyze_pvs_studio(${__iter})
|
||||
)
|
||||
myxx_code_coverage(${__iter})
|
||||
if(MYXX_CMAKE_CLANG_TIDY_FIX)
|
||||
myxx_analyze_clang_tidy(${__iter} FIX)
|
||||
else()
|
||||
myxx_analyze_clang_tidy(${__iter})
|
||||
endif()
|
||||
|
||||
if(MYXX_CMAKE_CLANG_TIDY_NAMING_FIX)
|
||||
myxx_analyze_clang_tidy_naming(${__iter} FIX)
|
||||
else()
|
||||
myxx_analyze_clang_tidy_naming(${__iter})
|
||||
endif()
|
||||
|
||||
if(MYXX_CMAKE_CLANG_CHECK_FIX)
|
||||
myxx_analyze_clang_check(${__iter} FIX)
|
||||
else()
|
||||
myxx_analyze_clang_check(${__iter})
|
||||
endif()
|
||||
|
||||
if(MYXX_CMAKE_CLAZY_FIX)
|
||||
myxx_analyze_clazy(${__iter} FIX)
|
||||
else()
|
||||
myxx_analyze_clazy(${__iter})
|
||||
endif()
|
||||
|
||||
if(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY")
|
||||
myxx_code_coverage(${__iter})
|
||||
myxx_add_sanitizers(${__iter})
|
||||
endif()
|
||||
myxx_analyze_pvs_studio(${__iter})
|
||||
myxx_add_sanitizers(${__iter})
|
||||
endif()
|
||||
|
||||
endforeach()
|
||||
endfunction(myxx)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.4.34")
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.4.32")
|
||||
if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
## Установка
|
||||
|
||||
Скачать [пакет](../../../releases/download/2.4.34/myxx-cmake_2.4.34_all.deb)
|
||||
для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.4.34_all.deb`,
|
||||
или [архив](../../../releases/download/2.4.34/myxx-cmake-local-2.4.34.tar.xz)
|
||||
Скачать [пакет](../../../releases/download/2.4.32/myxx-cmake_2.4.32_all.deb)
|
||||
для Debian и установить его, выполнив команду `sudo dpkg -i myxx-cmake_2.4.32_all.deb`,
|
||||
или [архив](../../../releases/download/2.4.32/myxx-cmake-local-2.4.32.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.4.34 LANGUAGES)
|
||||
project(myxx-cmake VERSION 2.4.32 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.4.34) unstable; urgency=medium
|
||||
myxx-cmake (2.4.32) unstable; urgency=medium
|
||||
|
||||
* New version.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user