mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Don't override PREFIX target property (#340)
PREFIX is by default "lib", which most of the libraries use. this changes makes the library files libftxui-foo.a as ArthurSonzogni/FTXUI#140 intended originally
This commit is contained in:
parent
63e8dadad9
commit
f95ed885bb
10
CHANGELOG.md
10
CHANGELOG.md
@ -4,8 +4,12 @@ Changelog
|
|||||||
current (development)
|
current (development)
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
#### DOM:
|
### Build
|
||||||
- The `inverted` decorator now toggle in the inverted attribute.
|
- **breaking**: The library prefix is now back to "lib" (the default). This
|
||||||
|
means non-cmake users should not link against "libftxui-dom" for instance.
|
||||||
|
|
||||||
|
### DOM:
|
||||||
|
- **breaking**: The `inverted` decorator now toggle in the inverted attribute.
|
||||||
- Add `gauge` for the 4 directions. Expose the following API:
|
- Add `gauge` for the 4 directions. Expose the following API:
|
||||||
```cpp
|
```cpp
|
||||||
Element gauge(float ratio);
|
Element gauge(float ratio);
|
||||||
@ -20,7 +24,7 @@ Element gaugeDirection(float ratio, GaugeDirection);
|
|||||||
- Fix the `Table` rendering function, to allow automerging characters.
|
- Fix the `Table` rendering function, to allow automerging characters.
|
||||||
- Bugfix: The `vscroll_indicator` now computes its offset and size correctly.
|
- Bugfix: The `vscroll_indicator` now computes its offset and size correctly.
|
||||||
|
|
||||||
#### Component
|
### Component
|
||||||
- Support SIGTSTP. (ctrl+z).
|
- Support SIGTSTP. (ctrl+z).
|
||||||
- Support task posting. `ScreenInteractive::Post(Task)`.
|
- Support task posting. `ScreenInteractive::Post(Task)`.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
function(ftxui_set_options library)
|
function(ftxui_set_options library)
|
||||||
set_target_properties(${library} PROPERTIES PREFIX "ftxui-")
|
set_target_properties(${library} PROPERTIES OUTPUT_NAME "ftxui-${library}")
|
||||||
|
|
||||||
|
|
||||||
target_include_directories(${library}
|
target_include_directories(${library}
|
||||||
|
Loading…
Reference in New Issue
Block a user