This commit is contained in:
Andrei Astafev 2022-10-08 19:49:54 +03:00
parent 7c5bef2913
commit fe4129114c
6 changed files with 12 additions and 12 deletions

View File

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

View File

@ -1,9 +1,9 @@
include_guard(GLOBAL)
option(MYX_CMAKE_WARNINGS_NORMAL "Normal level" ON)
cmake_dependent_option(MYX_CMAKE_WARNINGS_VERBOSE "Verbose level" OFF "MYX_CMAKE_WARNINGS_NORMAL" OFF)
option(MYXX_CMAKE_WARNINGS_NORMAL "Normal level" ON)
cmake_dependent_option(MYXX_CMAKE_WARNINGS_VERBOSE "Verbose level" OFF "MYXX_CMAKE_WARNINGS_NORMAL" OFF)
if(MYX_CMAKE_WARNINGS_NORMAL)
if(MYXX_CMAKE_WARNINGS_NORMAL)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
check_enable_cxx_compiler_flag(-Wshadow)
check_enable_cxx_compiler_flag(-Wtautological-overlap-compare)
@ -39,7 +39,7 @@ if(MYX_CMAKE_WARNINGS_NORMAL)
check_enable_cxx_compiler_flag(-Wsuggest-override)
check_enable_cxx_compiler_flag(-fdiagnostics-show-template-tree)
if(NOT MYX_CMAKE_WARNINGS_VERBOSE)
if(NOT MYXX_CMAKE_WARNINGS_VERBOSE)
check_enable_cxx_compiler_flag(-Wno-float-conversion)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "5.999")
@ -51,7 +51,7 @@ if(MYX_CMAKE_WARNINGS_NORMAL)
endif()
endif()
if(MYX_CMAKE_WARNINGS_VERBOSE)
if(MYXX_CMAKE_WARNINGS_VERBOSE)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
check_enable_cxx_compiler_flag(-Wpointer-to-int-cast)
check_enable_cxx_compiler_flag(-Wuninitialized-const-reference)

View File

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

View File

@ -1 +1 @@
2.0.7
2.0.8

View File

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

2
debian/changelog vendored
View File

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