Skip to content

Commit fea7018

Browse files
Improvement to config header specification based on the input of @eli-schwartz
1 parent 3d809a7 commit fea7018

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

include/c++/meson.build

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ config_site_header = configure_file(
1717

1818
config_header = configure_file(
1919
input: '__config.in',
20-
output: '__config',
20+
output: '__config_base',
2121
copy: true
2222
)
2323

24-
libcpp_config_headers = files(
25-
meson.current_build_dir() + '/__libcpp_config_site',
26-
meson.current_build_dir() + '/__config',
27-
)
24+
libcpp_config_headers = [config_site_header, config_header]
2825

26+
# This step composes the two headers above
2927
generate_libpp_config_header = custom_target(
3028
'generate_libpp_config_header',
3129
command: [ cat, '@INPUT@' ],

0 commit comments

Comments
 (0)