The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
503 B
23 lines
503 B
#include <girepository.h> |
|
|
|
#include "meson-sample.h" |
|
|
|
gint |
|
main (gint argc, |
|
gchar *argv[]) |
|
{ |
|
g_autoptr(GError) error = NULL; |
|
|
|
g_autoptr(GOptionContext) ctx = g_option_context_new (NULL); |
|
g_option_context_add_group (ctx, g_irepository_get_option_group ()); |
|
|
|
if (!g_option_context_parse (ctx, &argc, &argv, &error)) { |
|
g_print ("sample: %s\n", error->message); |
|
return 1; |
|
} |
|
|
|
g_autoptr(MesonSample) i = meson_sample_new ("Hello, meson!"); |
|
meson_sample_print (i); |
|
|
|
return 0; |
|
}
|
|
|