forked from GNOME/gtkmm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meson build: Make it possible to use gtkmm as a subproject
gtk, gdk-pixbuf, epoxy, cairomm, pangomm and glibmm can be subprojects of gtkmm. See MR !62
- Loading branch information
Showing
13 changed files
with
100 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=cairomm | ||
url=https://gitlab.freedesktop.org/cairo/cairomm.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
dependency_names = cairomm-1.16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=gdk-pixbuf | ||
url=https://gitlab.gnome.org/GNOME/gdk-pixbuf.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
gdk-pixbuf-2.0 = gdkpixbuf_dep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=glibmm | ||
url=https://gitlab.gnome.org/GNOME/glibmm.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
dependency_names = glibmm-2.68, giomm-2.68 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=gtk | ||
url=https://gitlab.gnome.org/GNOME/gtk.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
gtk4 = libgtk_dep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=libepoxy | ||
url=https://github.com/anholt/libepoxy.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
epoxy = libepoxy_dep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[wrap-git] | ||
directory=pangomm | ||
url=https://gitlab.gnome.org/GNOME/pangomm.git | ||
revision=master | ||
depth=1 | ||
|
||
[provide] | ||
dependency_names = pangomm-2.48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
# tools/extra_defs_gen | ||
|
||
# Input: cpp_compiler, gdkmm_build_dep, gtkmm_build_dep, install_libdir, | ||
# gtkmm_pcname, msvc14x_toolset_ver | ||
# gtkmm_pcname, msvc14x_toolset_ver, glibmm_dep | ||
# Output: m4_files, install_m4dir | ||
|
||
glibmm_generate_extra_defs_dep = cpp_compiler.find_library( | ||
'glibmm_generate_extra_defs@[email protected]'.format(msvc14x_toolset_ver), | ||
required: glibmm_dep.type_name() != 'internal', | ||
) | ||
if not glibmm_generate_extra_defs_dep.found() | ||
glibmm_generate_extra_defs_dep = dependency( | ||
'', fallback: ['glibmm-2.68', 'glibmm_generate_extra_defs_dep'], | ||
) | ||
endif | ||
|
||
executable('generate_defs_gdk', 'generate_defs_gdk.cc', | ||
dependencies: [gdkmm_build_dep, glibmm_generate_extra_defs_dep], | ||
|