Skip to content

Commit

Permalink
Release v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSonzogni committed Feb 12, 2023
1 parent 3e35f45 commit d301fab
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
current (development)
---------------------

4.0.0
-----

### DOM
- Feature: more styles:
- `strikethrough`
Expand Down
11 changes: 8 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11)

project(ftxui
LANGUAGES CXX
VERSION 3.0.0
VERSION 4.0.0
)

option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON)
Expand Down Expand Up @@ -131,12 +131,17 @@ target_link_libraries(dom
PUBLIC screen
)

find_package(Threads)
target_link_libraries(component
PUBLIC dom
PUBLIC Threads::Threads
)

if (NOT EMSCRIPTEN)
find_package(Threads)
target_link_libraries(component
PUBLIC Threads::Threads
)
endif()

include(cmake/ftxui_set_options.cmake)
ftxui_set_options(screen)
ftxui_set_options(dom)
Expand Down
1 change: 0 additions & 1 deletion cmake/ftxui_set_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function(ftxui_set_options library)
)

# C++17 is used. We require fold expression at least.
target_compile_features(${library} PUBLIC cxx_std_20)
set_target_properties(${library} PROPERTIES
CXX_STANDARD 17
CXX_EXTENSIONS OFF
Expand Down
2 changes: 1 addition & 1 deletion include/ftxui/screen/screen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define FTXUI_SCREEN_SCREEN_HPP

#include <memory>
#include <string> // for allocator, string, basic_string
#include <string> // for string, allocator, basic_string
#include <vector> // for vector

#include "ftxui/screen/box.hpp" // for Box
Expand Down
1 change: 0 additions & 1 deletion src/ftxui/component/animation.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <cmath> // for sin, pow, sqrt, cos
#include <compare> // for operator<=, operator>=, partial_ordering
#include <ratio> // for ratio
#include <utility> // for move

Expand Down
3 changes: 1 addition & 2 deletions src/ftxui/component/screen_interactive.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <algorithm> // for copy, max, min
#include <array> // for array
#include <chrono> // for operator-, milliseconds, operator<=>, duration, common_type<>::type, time_point
#include <compare> // for operator>=, strong_ordering
#include <chrono> // for operator-, milliseconds, operator>=, duration, common_type<>::type, time_point
#include <csignal> // for signal, SIGTSTP, SIGABRT, SIGWINCH, raise, SIGFPE, SIGILL, SIGINT, SIGSEGV, SIGTERM, __sighandler_t, size_t
#include <cstdio> // for fileno, stdin
#include <ftxui/component/task.hpp> // for Task, Closure, AnimationTask
Expand Down

0 comments on commit d301fab

Please sign in to comment.