Cleanup the build a bit

Makes the Meson build a little bit better and cleans up some of the
formatting.
This commit is contained in:
Tristan Partin
2022-05-25 14:07:02 -05:00
parent 37e9ca2e5f
commit 757d36ae8e
14 changed files with 136 additions and 177 deletions

View File

@ -1,7 +1,7 @@
# Optionally disable the GTK application in case you're building the
# sysprof-cli only for your platform. Might be useful in IoT or various
# server scenarios.
option('enable_gtk', type: 'boolean')
option('gtk', type: 'boolean')
# Disable libsysprof/ui (in situations you only want sysprof-capture)
option('libsysprof', type: 'boolean')
@ -10,7 +10,7 @@ option('libsysprof', type: 'boolean')
# You only really want to ignore this if you are running from a container
# and are talking to a host daemon. Also, if you're compiling for something
# other than Linux to allow viewing syscap files.
option('with_sysprofd', type: 'combo',
option('sysprofd', type: 'combo',
choices: ['host', 'bundled', 'none'],
value: 'bundled',
)
@ -35,12 +35,12 @@ option('libunwind', type: 'boolean')
# Optionally disable the tools (this is mostly only useful for building only
# libsysprof-capture as a subproject)
option('enable_tools', type: 'boolean')
option('tools', type: 'boolean')
# Optionally disable the tests (this is mostly only useful for building only
# libsysprof-capture as a subproject)
option('enable_tests', type: 'boolean')
option('tests', type: 'boolean')
# Optionally disable the examples (this is mostly only useful for building only
# libsysprof-capture as a subproject)
option('enable_examples', type: 'boolean')
option('examples', type: 'boolean')