diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-10 16:45:39 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-10 17:12:54 +0200 |
commit | b4b2e8d5331878f9b2dcf807c0d277b6dc880959 (patch) | |
tree | b78de431451213711d07b93402173373b512623a /manual tests/3 osx bundle/meson.build | |
parent | f9f51b1ac7f86ed4be78ea830a414ec0c27fb044 (diff) | |
download | meson-b4b2e8d5331878f9b2dcf807c0d277b6dc880959.zip meson-b4b2e8d5331878f9b2dcf807c0d277b6dc880959.tar.gz meson-b4b2e8d5331878f9b2dcf807c0d277b6dc880959.tar.bz2 |
Added an example of how to create OSX installers.
Diffstat (limited to 'manual tests/3 osx bundle/meson.build')
-rw-r--r-- | manual tests/3 osx bundle/meson.build | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manual tests/3 osx bundle/meson.build b/manual tests/3 osx bundle/meson.build new file mode 100644 index 0000000..13ab29a --- /dev/null +++ b/manual tests/3 osx bundle/meson.build @@ -0,0 +1,18 @@ +project('myapp', 'c') + +sdl = dependency('sdl2') + +prog = executable('myapp', 'myapp.c', +dependencies : sdl, +install : true) + +install_data('myapp.sh', +install_dir : 'Contents/MacOS') + +install_data('myapp.icns', +install_dir : 'Contents/Resources') + +install_data('Info.plist', +install_dir : 'Contents') + +meson.set_install_script('install_script.sh') |