install bin with meson

This commit is contained in:
bjt-user 2024-11-17 17:35:52 +01:00
parent a7d2a49931
commit ed4d5cc798
2 changed files with 1 additions and 5 deletions

View File

@ -52,7 +52,3 @@ This will run ctags on every commit.
- real and automated unit testing - real and automated unit testing
- fix stack smashing bug (test file: failed_cal.ics) - fix stack smashing bug (test file: failed_cal.ics)
- add cli argument that will not show ongoing events, only upcoming events - add cli argument that will not show ongoing events, only upcoming events
#### meson TODO
- install binary to `/usr/local/bin` with `meson`

View File

@ -2,4 +2,4 @@ project('ics_cli', 'c')
executable('icscli', 'main.c', 'cli_arg_parsing.c', 'date_time_handling.c', 'insert_event.c', \ executable('icscli', 'main.c', 'cli_arg_parsing.c', 'date_time_handling.c', 'insert_event.c', \
'list_handling.c', 'parse_ics.c', 'read_until_nl.c', 'read_until_string.c', 'seek_string_a.c', \ 'list_handling.c', 'parse_ics.c', 'read_until_nl.c', 'read_until_string.c', 'seek_string_a.c', \
'string_handling.c', link_args : '-luuid') 'string_handling.c', link_args : '-luuid', install: true, install_dir: '/usr/local/bin')