2.0.3
This commit is contained in:
parent
dbf3fe4d0e
commit
87918d40b3
@ -30,9 +30,15 @@ include(${MYXX_CMAKE_LIB_DIR}/pvs-studio/PVS-Studio.cmake)
|
||||
include(${MYXX_CMAKE_LIB_DIR}/AnalyzePvsStudio.cmake)
|
||||
|
||||
function(myxx)
|
||||
get_property(targets DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} PROPERTY BUILDSYSTEM_TARGETS)
|
||||
foreach(iter ${targets})
|
||||
# Свойство BUILDSYSTEM_TARGETS доступно в CMake только с версии 3.7
|
||||
# Более старые конфигурации придётся настраивать вручную
|
||||
if(${CMAKE_VERSION} VERSION_LESS "3.7.0")
|
||||
myx_message_warning("MyxxCMake: automated setup is only available for CMake 3.7+")
|
||||
return()
|
||||
endif()
|
||||
|
||||
get_property(targets DIRECTORY ${CMAKE_BINARY_DIR} PROPERTY BUILDSYSTEM_TARGETS)
|
||||
foreach(iter ${targets})
|
||||
get_target_property(target_type ${iter} TYPE)
|
||||
if(NOT ${target_type} STREQUAL "UTILITY")
|
||||
myxx_code_coverage(${iter})
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.0.2")
|
||||
set(MYXX_CMAKE_PACKAGE_VERSION "2.0.3")
|
||||
if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
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.2 LANGUAGES)
|
||||
project(myxx-cmake VERSION 2.0.3 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.2) unstable; urgency=medium
|
||||
myxx-cmake (2.0.3) unstable; urgency=medium
|
||||
|
||||
* New version.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user