declare parser generated sources as deps (#4264)

This commit is contained in:
Dmitri Goutnik 2020-11-21 13:18:24 -05:00 committed by GitHub
parent eb83b37936
commit d0067077ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,6 +514,7 @@ executable(
'i3-config-wizard/i3-config-wizard-atoms.xmacro.h',
'i3-config-wizard/main.c',
'i3-config-wizard/xcb.h',
config_parser,
],
install: true,
include_directories: include_directories('include', 'i3-config-wizard'),
@ -669,7 +670,10 @@ executable(
executable(
'test.commands_parser',
'src/commands_parser.c',
[
'src/commands_parser.c',
command_parser,
],
include_directories: inc,
c_args: '-DTEST_PARSER',
dependencies: common_deps,
@ -678,7 +682,10 @@ executable(
executable(
'test.config_parser',
'src/config_parser.c',
[
'src/config_parser.c',
config_parser,
],
include_directories: inc,
c_args: '-DTEST_PARSER',
dependencies: common_deps,