mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 18:59:59 +08:00
Move to v2.0.0 (#315)
This commit is contained in:
parent
6039474a26
commit
81b7207121
@ -1,8 +1,11 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
unreleased (development)
|
current (development)
|
||||||
------------------------
|
---------------------
|
||||||
|
|
||||||
|
2.0.0
|
||||||
|
-----
|
||||||
|
|
||||||
### Features:
|
### Features:
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11)
|
|||||||
|
|
||||||
project(ftxui
|
project(ftxui
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
VERSION 0.11.1
|
VERSION 2.0.0
|
||||||
)
|
)
|
||||||
|
|
||||||
option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON)
|
option(FTXUI_BUILD_DOCS "Set to ON to build docs" ON)
|
||||||
|
@ -3,7 +3,12 @@ if (NOT WIN32)
|
|||||||
GIT_REPOSITORY "https://github.com/google/benchmark"
|
GIT_REPOSITORY "https://github.com/google/benchmark"
|
||||||
GIT_TAG 62937f91b5c763a8e119d0c20c67b87bde8eff1c
|
GIT_TAG 62937f91b5c763a8e119d0c20c67b87bde8eff1c
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(googlebenchmark)
|
|
||||||
|
FetchContent_GetProperties(googlebenchmark)
|
||||||
|
if(NOT googlebenchmark_POPULATED)
|
||||||
|
FetchContent_Populate(googlebenchmark)
|
||||||
|
add_subdirectory(${googlebenchmark_SOURCE_DIR} ${googlebenchmark_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(ftxui_benchmark
|
add_executable(ftxui_benchmark
|
||||||
src/ftxui/dom/benchmark_test.cpp
|
src/ftxui/dom/benchmark_test.cpp
|
||||||
|
@ -4,11 +4,15 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
|||||||
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
|
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare( googletest
|
FetchContent_Declare(googletest
|
||||||
GIT_REPOSITORY "https://github.com/google/googletest"
|
GIT_REPOSITORY "https://github.com/google/googletest"
|
||||||
GIT_TAG 23ef29555ef4789f555f1ba8c51b4c52975f0907
|
GIT_TAG 23ef29555ef4789f555f1ba8c51b4c52975f0907
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(googletest)
|
FetchContent_GetProperties(googletest)
|
||||||
|
if(NOT googletest_POPULATED)
|
||||||
|
FetchContent_Populate(googletest)
|
||||||
|
add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(tests
|
add_executable(tests
|
||||||
src/ftxui/component/component_test.cpp
|
src/ftxui/component/component_test.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user