Upgrade version to 0.11.1 (#246)

A minor new version. Mostly for packaging the library in Release mode.
This commit is contained in:
Arthur Sonzogni 2021-10-23 21:13:23 +02:00 committed by GitHub
parent c0e47aecb2
commit aa6b78b8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 18 deletions

View File

@ -4,9 +4,15 @@ Changelog
unreleased (development) unreleased (development)
------------------------ ------------------------
# Bug: 0.11.1
- Check the selected element are within bounds for Dropdown. ------
# Component
- Feature: Support for PageUp/PageDown/Home/End buttons.
- Bugfix: Check the selected element are within bounds for Dropdown.
# Build
- Bugfix: Package library using the "Release config". Not debug.
0.11 0.11
---- ----

View File

@ -1,10 +1,8 @@
cmake_minimum_required(VERSION 3.11) cmake_minimum_required(VERSION 3.11)
include(cmake/ftxui_git_version.cmake)
project(ftxui project(ftxui
LANGUAGES CXX LANGUAGES CXX
VERSION 0.11.${git_version} VERSION 0.11.1
) )
option(FTXUI_BUILD_DOCS "Set to ON to build tests" ON) option(FTXUI_BUILD_DOCS "Set to ON to build tests" ON)

View File

@ -1,13 +0,0 @@
find_package(Git QUIET)
if (Git_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
message("git found")
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-list --count HEAD
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE git_version
OUTPUT_STRIP_TRAILING_WHITESPACE
)
else()
set(git_version 0)
endif()