Commit 7c6b0b84 authored by Philip Withnall's avatar Philip Withnall 🚫
Browse files

Initial commit

Includes a trivial build system skeleton.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
This diff is collapsed.
libglib-testing is a test library providing test harnesses and mock classes
which complement the classes provided by GLib. It is intended to be used by
any project which uses GLib and which wants to write internal unit tests.
libglib-testing is a separate project from GLib itself for two reasons:
• To allow unstable API to be prototyped before being stabilised.
• To keep test harness API out of libglib, since it should only be needed
at test time, not at runtime.
All the library APIs are currently unstable and are likely to change wildly.
• gio-2.0 ≥ 2.54
• glib-2.0 ≥ 2.54
• gobject-2.0 ≥ 2.54
The libraries in libglib-testing are licensed under the LGPL. See COPYING
for more details.
Bug reports and patches should be reported by e-mail to one of the authors or
filed in GitLab:
Philip Withnall <>
<Project xmlns:rdf="" xmlns:rdfs="" xmlns:foaf="" xmlns="">
<name xml:lang="en">libglib-testing</name>
<shortdesc xml:lang="en">libglib-testing provides test harnesses and mock classes</shortdesc>
<description xml:lang="en">libglib-testing is a test library providing test harnesses and mock classes which complement the classes provided by GLib.</description>
<homepage rdf:resource=""/>
<license rdf:resource=""/>
<download-page rdf:resource=""/>
<foaf:name>Philip Withnall</foaf:name>
<foaf:mbox rdf:resource=""/>
version: '0.1.0',
meson_version: '>= 0.43.0',
license: 'LGPLv2.1+',
default_options: [
gnome = import('gnome')
pkgconfig = import('pkgconfig')
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
libdir = join_paths(prefix, get_option('libdir'))
libexecdir = join_paths(prefix, get_option('libexecdir'))
localedir = join_paths(prefix, get_option('localedir'))
includedir = join_paths(prefix, get_option('includedir'))
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())
config_h.set_quoted('LOCALEDIR', localedir)
output: 'config.h',
configuration: config_h,
root_inc = include_directories('.')
# Enable warning flags
test_c_args = [
cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments(test_c_args), language: 'c')
enable_installed_tests = get_option('installed_tests')
test_template = files('')
test_env = [
type: 'boolean',
value: false,
description: 'enable installed tests'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment