Skip to content

Commit

Permalink
Add a meson option to set the executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
fossfreedom committed Nov 1, 2018
1 parent f3673c3 commit 12ff5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ src = [
'src/dialogs/PanelPropertiesWindow.vala'
]

exename = get_option('exename')

executable(
'com.github.spheras.desktopfolder',
exename,
src,
asresources,
c_args: c_args,
Expand Down
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
option('exename', type : 'string', value : 'com.github.spheras.desktopfolder', description : 'executable name')

0 comments on commit 12ff5a3

Please sign in to comment.