refactor(meson): add parse.c to build
This commit is contained in:
@@ -35,6 +35,7 @@ void callback_handler(tgbot_s *bot, tgbot_cbquery_s *query) {
|
||||
}
|
||||
|
||||
void sighandler(int signum) {
|
||||
(void)signum;
|
||||
fprintf(stdout, "Closing...\n");
|
||||
run = false;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,6 @@ tgbot_dep = declare_dependency(
|
||||
# Example
|
||||
executable(
|
||||
'example',
|
||||
'examples/echobot/echobot.c',
|
||||
'examples/inlinekeyboard/inlinekeyboard.c',
|
||||
dependencies: tgbot_dep,
|
||||
)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
sources += files(
|
||||
'json.c',
|
||||
'methods.c',
|
||||
'tgbot.c',
|
||||
'types.c',
|
||||
)
|
||||
sources += files(
|
||||
'json.c',
|
||||
'methods.c',
|
||||
'parse.c',
|
||||
'tgbot.c',
|
||||
'types.c',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user