diff options
author | Christian Persch <chpe@src.gnome.org> | 2021-02-21 20:05:43 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2021-02-21 20:05:43 +0100 |
commit | 075d0b37049244429b7d709dc8c21f67023bc048 (patch) | |
tree | 36d337ab3984502b6d84917c76b697b23d57ccf1 /Makefile.meson | |
parent | 94966f638af6999103f89cd8e31b71701cca495b (diff) | |
download | vte-075d0b37049244429b7d709dc8c21f67023bc048.tar.gz |
all: Initial port for gtk4
Add meson changes to build a gtk4 variant of libvte, plus
a gtk4 variant of the test application.
Make the minimal code changes required to successfully build
and run on gtk4.
No event handlers yet, and no public API to replace the gtk3
specific APIs. That will come later.
This should be good enough to get non-terminal users of libvte
started on porting to gtk4.
https://gitlab.gnome.org/GNOME/vte/-/issues/12
Diffstat (limited to 'Makefile.meson')
-rw-r--r-- | Makefile.meson | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile.meson b/Makefile.meson index 4917fb23..40bbdb42 100644 --- a/Makefile.meson +++ b/Makefile.meson @@ -15,8 +15,7 @@ srcdir=@srcdir@ builddir=@builddir@ -vte_gtk3_api_version = @vte_gtk3_api_version@ -vte_gtk4_api_version = @vte_gtk4_api_version@ +vte_api_version = @vte_api_version@ # @@ -29,6 +28,18 @@ NINJA = ninja $(NJOBS) all: $(NINJA) +gtk3: + $(NINJA) src/app/vte-$(vte_api_version) + +gtk4: + $(NINJA) src/app/vte-$(vte_api_version)-gtk4 + +doc-gtk3: + $(NINJA) doc/reference/gtk3/meson.stamp + +doc-gtk4: + $(NINJA) doc/reference/gtk4/meson.stamp + check: MESON_TESTTHREADS=$(NTHREADS) $(NINJA) test @@ -38,8 +49,7 @@ clean: coverage: $(NINJA) coverage -doc: - $(NINJA) vte-$(vte_gtk3_api_version)-doc +doc: doc-gtk3 doc-gtk4 install: $(NINJA) install |