Skip to content

Commit 4ce6484

Browse files
committed
Fix #19 when using meson install tags
1 parent c9fef40 commit 4ce6484

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

meson.build

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ vil_layer = shared_library(
541541
cpp_pch: pch,
542542
)
543543

544+
install_headers('include/vil_api.h')
545+
544546
conf_data = configuration_data()
545547
conf_data.set('vil_version', meson.project_version())
546548

@@ -565,7 +567,8 @@ configure_file(
565567
output: 'VkLayer_live_introspection.json',
566568
install: true,
567569
install_dir: join_paths(get_option('datadir'), 'vulkan', 'explicit_layer.d'),
568-
configuration: conf_data
570+
configuration: conf_data,
571+
install_tag: 'runtime',
569572
)
570573

571574
if build_machine.system() == 'windows'
@@ -586,6 +589,7 @@ if with_unit_tests
586589
# executor for embedded unit tests
587590
viltest = executable('viltest', files('src/test/unit/main.cpp'),
588591
include_directories: inc,
592+
install_tag: 'tests',
589593
cpp_args: args,
590594
dependencies: [],
591595
link_with: vil_layer)
@@ -613,6 +617,7 @@ if with_integration_tests
613617

614618
intest = executable('intest', int_src,
615619
include_directories: inc,
620+
install_tag: 'tests',
616621
cpp_args: int_args,
617622
dependencies: [dep_dlg, dep_vulkan, dep_dl, dep_nytl])
618623
test('intest', intest,
@@ -623,6 +628,7 @@ endif
623628
if with_standalone
624629
iv = executable('iv', files('src/standalone/main.cpp'),
625630
include_directories: inc,
631+
install_tag: 'bin-devel',
626632
cpp_args: args,
627633
dependencies: [],
628634
link_with: vil_layer)

0 commit comments

Comments
 (0)