mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: don't disable assert on tests
This fixes #2 where meson errors about tests and assert being disabled.
This commit is contained in:
@ -11,21 +11,17 @@ sysprof_sources = [
|
||||
'sp-window-settings.h',
|
||||
]
|
||||
|
||||
sysprof_resources = gnome.compile_resources(
|
||||
'sp-resources', 'resources/sysprof.gresource.xml',
|
||||
sysprof_resources = gnome.compile_resources('sp-resources', 'resources/sysprof.gresource.xml',
|
||||
source_dir: 'resources',
|
||||
c_name: 'sysprof',
|
||||
c_name: 'sysprof',
|
||||
)
|
||||
|
||||
sysprof = executable('sysprof',
|
||||
sysprof_resources + sysprof_sources,
|
||||
dependencies: [
|
||||
libsysprof_ui_dep,
|
||||
cc.find_library('m', required: false),
|
||||
],
|
||||
c_args: exe_c_args,
|
||||
link_args: exe_link_args,
|
||||
install: true,
|
||||
sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
|
||||
gui_app: true,
|
||||
install: true,
|
||||
c_args: release_flags + exe_c_args,
|
||||
dependencies: [libsysprof_ui_dep, cc.find_library('m', required: false)],
|
||||
link_args: exe_link_args,
|
||||
)
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user