mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
meson: use wrap files for fcft/tllist subprojects
See: https://mesonbuild.com/Wrap-dependency-system-manual.html
This commit is contained in:
parent
2a82096749
commit
013cca646d
9 changed files with 20 additions and 41 deletions
21
INSTALL.md
21
INSTALL.md
|
|
@ -26,15 +26,12 @@ foot makes use of a couple of libraries I have developed:
|
|||
[tllist](https://codeberg.org/dnkl/tllist) and
|
||||
[fcft](https://codeberg.org/dnkl/fcft). As such, they will most likely
|
||||
not have been installed already. You can either install them as system
|
||||
libraries, or you can build them as _subprojects_ in foot.
|
||||
libraries or build them as _subprojects_ in foot.
|
||||
|
||||
When building foot, they will first be searched for as system
|
||||
libraries. If **found**, foot will link dynamically against them.
|
||||
|
||||
If **not** found, they will be searched for as subprojects. In this
|
||||
case you need to create the `subprojects` directory and clone
|
||||
https://codeberg.org/dnkl/fcft.git and
|
||||
https://codeberg.org/dnkl/tllist.git (see [Other](#other) below).
|
||||
If **not** found, meson will attempt to download and build them as
|
||||
subprojects.
|
||||
|
||||
|
||||
## Requirements
|
||||
|
|
@ -114,18 +111,6 @@ be interested in the compiler flags used there.
|
|||
|
||||
### Setup
|
||||
|
||||
If you have not installed [tllist](https://codeberg.org/dnkl/tllist)
|
||||
and [fcft](https://codeberg.org/dnkl/fcft) as system libraries, clone
|
||||
them into the `subprojects` directory:
|
||||
|
||||
```sh
|
||||
mkdir -p subprojects
|
||||
pushd subprojects
|
||||
git clone https://codeberg.org/dnkl/tllist.git
|
||||
git clone https://codeberg.org/dnkl/fcft.git
|
||||
popd
|
||||
```
|
||||
|
||||
To build, first, create a build directory, and switch to it:
|
||||
```sh
|
||||
mkdir -p bld/release && cd bld/release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue