-
Notifications
You must be signed in to change notification settings - Fork 4
/
meson.build
45 lines (41 loc) · 1.36 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## project name and programming language
project('com.github.basjam.valacompiler', 'vala', 'c')
# Include the translations module
i18n = import('i18n')
# Set our translation domain
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
# Create a new executable, list the files we want to compile, list the dependencies we need, and install
executable(
meson.project_name(),
'src/Window.vala',
'src/Application.vala',
'src/Settings/Settings.vala',
'src/Utils/FileLister.vala',
'src/Utils/FilesManager.vala',
'src/Utils/ValaC.vala',
'src/Utils/AppTester.vala',
'src/Utils/OptionsManager.vala',
'src/Utils/Option.vala',
'src/Utils/CompileManager.vala',
'src/Utils/ReportsManager.vala',
'src/Utils/File.vala',
'src/Widgets/FilesListBox.vala',
'src/Widgets/FilesListRow.vala',
'src/Widgets/ProjectPage.vala',
'src/Widgets/WelcomePage.vala',
'src/Widgets/ReportPage.vala',
'src/Widgets/OptionsSidebar.vala',
'src/Widgets/OptionsListBox.vala',
'src/Widgets/OptionsListRow.vala',
'src/Widgets/AddOptionsDialog.vala',
'src/Widgets/HeaderBar.vala',
'src/Widgets/MainStack.vala',
dependencies: [
dependency('gtk+-3.0'),
dependency('granite'),
],
install: true
)
subdir('po')
subdir('data')
meson.add_install_script('meson/post_install.py')