src/sysprof-cli/meson.build
raw| 1 | sysprof_cli_sources = [ |
| 2 | 'sysprof-cli.c', |
| 3 | ] |
| 4 | |
| 5 | sysprof_cli_c_args = [ |
| 6 | ] |
| 7 | |
| 8 | sysprof_cli_deps = [ |
| 9 | libsysprof_static_dep, |
| 10 | ] |
| 11 | |
| 12 | if polkit_agent_dep.found() |
| 13 | sysprof_cli_deps += polkit_agent_dep |
| 14 | endif |
| 15 | |
| 16 | if libsystemd_dep.found() |
| 17 | sysprof_cli_deps += libsystemd_dep |
| 18 | endif |
| 19 | |
| 20 | sysprof_cli = executable('sysprof-cli', sysprof_cli_sources, |
| 21 | dependencies: sysprof_cli_deps, |
| 22 | c_args: release_flags + sysprof_cli_c_args, |
| 23 | install: true, |
| 24 | ) |