diff options
author | Wu Xiaotian <[email protected]> | 2019-06-19 22:04:32 +0800 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-07-13 22:26:39 +0000 |
commit | d86c29b0e518f765e7570573c76bc033fbd17f6d (patch) | |
tree | a4ac9135d5328c8955f4a60b70ee86a5ee22150c /src/tools/meson.build | |
parent | 9c6676b1efa27aa103b5eddb28f97488a63a5190 (diff) | |
download | marco-d86c29b0e518f765e7570573c76bc033fbd17f6d.tar.bz2 marco-d86c29b0e518f765e7570573c76bc033fbd17f6d.tar.xz |
switch to use meson build system
Diffstat (limited to 'src/tools/meson.build')
-rw-r--r-- | src/tools/meson.build | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tools/meson.build b/src/tools/meson.build new file mode 100644 index 00000000..c6f1b4a9 --- /dev/null +++ b/src/tools/meson.build @@ -0,0 +1,33 @@ +cargs = ['-DMARCO_ICON_DIR="marco"'] + +install_data('marco-window-demo.png', + install_dir: join_paths(pkgdatadir, 'icons') +) + +executable('marco-message', + 'marco-message.c', + include_directories : [ + include_directories('.'), + include_directories('..'), + ], + dependencies: marco_message_deps, + link_with : [ + libmarco + ], + c_args : cargs, + install: true, +) + +executable('marco-window-demo', + 'marco-window-demo.c', + include_directories : [ + include_directories('.'), + include_directories('..'), + ], + dependencies: marco_window_demo_deps, + link_with : [ + libmarco + ], + c_args : cargs, + install: true, +) |