File tree Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ custom_target('manual_html',
61
61
],
62
62
build_by_default : true ,
63
63
install : true ,
64
- install_dir : install_tutorialdir
64
+ install_dir : install_tutorialdir,
65
+ install_tag : ' doc' ,
65
66
)
66
67
67
68
if can_parse_and_validate
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ tag_file = custom_target('html_and_tag',
102
102
build_by_default : build_documentation,
103
103
install : true ,
104
104
install_dir : install_reference_docdir,
105
+ install_tag : ' doc' ,
105
106
)
106
107
107
108
devhelp_file = custom_target (' devhelp' ,
@@ -125,7 +126,8 @@ meson.add_install_script(
125
126
devhelp_file.full_path(),
126
127
install_devhelpdir,
127
128
install_reference_docdir / ' html' ,
128
- docinstall_flags
129
+ docinstall_flags,
130
+ install_tag : ' doc' ,
129
131
)
130
132
131
133
# Distribute built files and files copied by mm-common-get.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ foreach ex : examples
23
23
cpp_args : ' -DSIGCXX_DISABLE_DEPRECATED=1' ,
24
24
dependencies : sigcxx_own_dep,
25
25
implicit_include_directories : false ,
26
- build_by_default : build_examples
26
+ build_by_default : build_examples,
27
+ install : false ,
27
28
)
28
29
endforeach
Original file line number Diff line number Diff line change @@ -33,10 +33,9 @@ sigcxx_libversion = '@0@.@1@.@2@'.format(
33
33
libtool_soversion[1 ])
34
34
darwin_versions = [libtool_soversion[0 ] + 1 , ' @0@.@1@' .format(libtool_soversion[0 ] + 1 , libtool_soversion[1 ])]
35
35
36
- # Use these instead of meson.source_root() and meson.build_root() in subdirectories.
37
- # source_root() and build_root() are not useful, if this is a subproject.
38
- project_source_root = meson .current_source_dir()
39
- project_build_root = meson .current_build_dir()
36
+ # Source and build root directories of the current (sub)project.
37
+ project_source_root = meson .project_source_root()
38
+ project_build_root = meson .project_build_root()
40
39
41
40
cpp_compiler = meson .get_compiler(' cpp' )
42
41
cpp_compiler_id = cpp_compiler.get_id()
@@ -252,7 +251,9 @@ configure_file(
252
251
input : sigcxxconfig_h_meson,
253
252
output : ' sigc++config.h' ,
254
253
configuration : pkg_conf_data,
254
+ install : true ,
255
255
install_dir : install_includeconfigdir,
256
+ install_tag : ' devel' ,
256
257
)
257
258
258
259
#subdir('cmake')
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ foreach ex : test_programs
70
70
dependencies : sigcxx_own_dep,
71
71
implicit_include_directories : false ,
72
72
build_by_default : build_tests,
73
+ install : false ,
73
74
)
74
75
75
76
# If exe_file is a test program, it is built by default unconditionally.
@@ -93,7 +94,8 @@ if can_benchmark
93
94
exe_file = executable (ex_name, ex_sources,
94
95
dependencies : [sigcxx_own_dep, benchmark_dep],
95
96
implicit_include_directories : false ,
96
- build_by_default : do_benchmark
97
+ build_by_default : do_benchmark,
98
+ install : false ,
97
99
)
98
100
99
101
if do_benchmark
You can’t perform that action at this time.
0 commit comments