2020-03-02 04:45:14 -05:00
|
|
|
swarg = ''
|
|
|
|
if steamworks == true
|
|
|
|
swarg = steam_libpath
|
|
|
|
endif
|
2020-04-29 22:33:01 -04:00
|
|
|
|
|
|
|
if get_option('appimage') == true
|
|
|
|
install_data('AppRun')
|
|
|
|
install_data('mkxp-z.png')
|
|
|
|
install_data('mkxp-z.desktop')
|
|
|
|
|
2020-06-30 11:12:53 -04:00
|
|
|
meson.add_install_script('make_appimg.sh', meson.project_name(), get_option('appimagekit_path'), swarg)
|
2020-04-29 22:33:01 -04:00
|
|
|
else
|
|
|
|
if sizeof['long'] == 8
|
|
|
|
archarg = '64'
|
|
|
|
else
|
2020-05-01 23:39:42 -04:00
|
|
|
archarg = '32'
|
2020-04-29 22:33:01 -04:00
|
|
|
endif
|
2020-05-01 23:47:06 -04:00
|
|
|
meson.add_install_script('install.sh', meson.project_name() + '.' + host_machine.cpu(), archarg, swarg)
|
2020-04-29 22:33:01 -04:00
|
|
|
endif
|