Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 28, 2025
1 parent 9aa1f3e commit aa460cf
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 18 deletions.
14 changes: 9 additions & 5 deletions Builtin-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,15 @@ <h4 id="details-for-vsenv">Details for <code>vsenv</code>
<p><code>vsenv</code> is <code>true</code> by default when using the <code>vs</code> backend.</p>
<h4 id="details-for-default_both_libraries">Details for <code>default_both_libraries</code>
</h4>
<p>Since <code>1.6.0</code>, you can select the default type of library selected when using
a <code>both_libraries</code> object. This can be either 'shared' (default value, compatible
with previous meson versions), 'static', or 'auto'. With auto, the value from
<code>default_library</code> option is used, unless it is 'both', in which case 'shared'
is used instead.</p>
<p>Since <code>1.6.0</code>, you can specify the default type of library selected when using a
<code>both_libraries</code> object with <code>default_both_libraries</code>. Note that, unlike
<code>default_library</code>, this option does not affect how the library artifacts are
built, but how they are internally linked to the dependent targets within the
same project.</p>
<p>The possible values of this option are 'shared' (default value, compatible with
previous meson versions), 'static', and 'auto'. With auto, the value from the
<code>default_library</code> option is used, unless it is 'both', in which case 'shared' is
used instead.</p>
<p>When <code>default_both_libraries</code> is 'auto', passing a <a href="Reference-manual_returned_both_libs.html"><ins><code>both_libs</code></ins></a> dependency
in <a href="Reference-manual_functions.html#both_libraries"><ins><code>both_libraries()</code></ins></a> will link the static dependency with the static lib,
and the shared dependency with the shared lib.</p>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/search/Note

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/search/affect
Original file line number Diff line number Diff line change
@@ -1 +1 @@
urls_downloaded_cb({"token":"affect","urls":[{"url":"Builtin-options.html#specifying-options-per-machine","node_type":"p","page":"Built-in options","sections":["Built-in options","Specifying options per machine"],"context":{"gi-language":["default"]}},{"url":"CMake-module.html#cmake-options-object","node_type":"p","page":"CMake module","sections":["CMake module","CMake subprojects","\ncmake options object"],"context":{"gi-language":["default"]}},{"url":"Dependencies.html#modules-aka-components","node_type":"p","page":"Dependencies","sections":["Dependencies with custom lookup functionality","LLVM","Modules, a.k.a. Components"],"context":{"gi-language":["default"]}},{"url":"FAQ.html#why-are-changes-to-default-project-options-ignored","node_type":"p","page":"FAQ","sections":["Meson Frequently Asked Questions","Why are changes to default project options ignored?"],"context":{"gi-language":["default"]}},{"url":"FAQ.html#why-dont-the-arguments-passed-to-add_project_link_arguments-affect-anything","node_type":"h2","page":"FAQ","sections":["Meson Frequently Asked Questions","Why don't the arguments passed to add_project_link_arguments affect anything?"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_dep.html#arguments4","node_type":"table","page":"Dependency object","sections":["Dependency object (dep)","Dependency object methods","dep.get_pkgconfig_variable()","Arguments"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_dep.html#get_pkgconfig_variable_define_variable","node_type":"p","page":"Dependency object","sections":["Dependency object (dep)","Dependency object methods","dep.get_pkgconfig_variable()","Arguments"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#environment-variables-per-machine","node_type":"p","page":"Reference tables","sections":["Reference tables","Environment variables per machine"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-40-0.html#overriding-options-per-target","node_type":"p","page":"Release 0.40","sections":["New features","Overriding options per target"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#specifying-options-per-mer-machine","node_type":"p","page":"Release 0.51.0","sections":["New features","Specifying options per mer machine"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-57-0.html#minimum-required-python-version-updated-to-36","node_type":"p","page":"Release 0.57.0","sections":["New features","Minimum required Python version updated to 3.6"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-62-0.html#minimum-required-python-version-updated-to-37","node_type":"p","page":"Release 0.62.0","sections":["New features","Minimum required Python version updated to 3.7"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-1-0.html#sudo-meson-install-now-drops-privileges-when-rebuilding-targets","node_type":"p","page":"Release 1.1.0","sections":["New features","\nsudo meson install now drops privileges when rebuilding targets"],"context":{"gi-language":["default"]}},{"url":"Running-Meson.html#environment-variables","node_type":"p","page":"Running Meson","sections":["Running Meson","Environment variables"],"context":{"gi-language":["default"]}},{"url":"Syntax.html#foreach-statements","node_type":"p","page":"Syntax","sections":["Syntax","Foreach statements"],"context":{"gi-language":["default"]}}]});
urls_downloaded_cb({"token":"affect","urls":[{"url":"Builtin-options.html#details-for-default_both_libraries","node_type":"p","page":"Built-in options","sections":["Built-in options","Universal options","Core options","Details for default_both_libraries\n"],"context":{"gi-language":["default"]}},{"url":"Builtin-options.html#specifying-options-per-machine","node_type":"p","page":"Built-in options","sections":["Built-in options","Specifying options per machine"],"context":{"gi-language":["default"]}},{"url":"CMake-module.html#cmake-options-object","node_type":"p","page":"CMake module","sections":["CMake module","CMake subprojects","\ncmake options object"],"context":{"gi-language":["default"]}},{"url":"Dependencies.html#modules-aka-components","node_type":"p","page":"Dependencies","sections":["Dependencies with custom lookup functionality","LLVM","Modules, a.k.a. Components"],"context":{"gi-language":["default"]}},{"url":"FAQ.html#why-are-changes-to-default-project-options-ignored","node_type":"p","page":"FAQ","sections":["Meson Frequently Asked Questions","Why are changes to default project options ignored?"],"context":{"gi-language":["default"]}},{"url":"FAQ.html#why-dont-the-arguments-passed-to-add_project_link_arguments-affect-anything","node_type":"h2","page":"FAQ","sections":["Meson Frequently Asked Questions","Why don't the arguments passed to add_project_link_arguments affect anything?"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_dep.html#arguments4","node_type":"table","page":"Dependency object","sections":["Dependency object (dep)","Dependency object methods","dep.get_pkgconfig_variable()","Arguments"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_dep.html#get_pkgconfig_variable_define_variable","node_type":"p","page":"Dependency object","sections":["Dependency object (dep)","Dependency object methods","dep.get_pkgconfig_variable()","Arguments"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#environment-variables-per-machine","node_type":"p","page":"Reference tables","sections":["Reference tables","Environment variables per machine"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-40-0.html#overriding-options-per-target","node_type":"p","page":"Release 0.40","sections":["New features","Overriding options per target"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#specifying-options-per-mer-machine","node_type":"p","page":"Release 0.51.0","sections":["New features","Specifying options per mer machine"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-57-0.html#minimum-required-python-version-updated-to-36","node_type":"p","page":"Release 0.57.0","sections":["New features","Minimum required Python version updated to 3.6"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-62-0.html#minimum-required-python-version-updated-to-37","node_type":"p","page":"Release 0.62.0","sections":["New features","Minimum required Python version updated to 3.7"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-1-0.html#sudo-meson-install-now-drops-privileges-when-rebuilding-targets","node_type":"p","page":"Release 1.1.0","sections":["New features","\nsudo meson install now drops privileges when rebuilding targets"],"context":{"gi-language":["default"]}},{"url":"Running-Meson.html#environment-variables","node_type":"p","page":"Running Meson","sections":["Running Meson","Environment variables"],"context":{"gi-language":["default"]}},{"url":"Syntax.html#foreach-statements","node_type":"p","page":"Syntax","sections":["Syntax","Foreach statements"],"context":{"gi-language":["default"]}}]});
2 changes: 1 addition & 1 deletion assets/js/search/artifacts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
urls_downloaded_cb({"token":"artifacts","urls":[{"url":"Design-rationale.html#3-must-enforce-established-best-practices","node_type":"p","page":"Design rationale","sections":["This is the original design rationale for Meson. The syntax it\ndescribes does not match the released version","Can we do better?","3. Must enforce established best practices"],"context":{"gi-language":["default"]}},{"url":"Mixing-build-systems.html#the-definition-of-build-system-mixing","node_type":"p","page":"Meson's policy on mixing multiple build systems in one build directory","sections":["Meson's policy on mixing multiple build systems in one build directory","The definition of \"build system mixing\""],"context":{"gi-language":["default"]}},{"url":"Quick-guide.html#compiling-a-meson-project","node_type":"p","page":"Quickstart Guide","sections":["Using Meson","Compiling a Meson project"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-58-0.html#purge-subprojects-folder","node_type":"ul","page":"Release 0.58.0","sections":["New features","Purge subprojects folder"],"context":{"gi-language":["default"]}}]});
urls_downloaded_cb({"token":"artifacts","urls":[{"url":"Builtin-options.html#details-for-default_both_libraries","node_type":"p","page":"Built-in options","sections":["Built-in options","Universal options","Core options","Details for default_both_libraries\n"],"context":{"gi-language":["default"]}},{"url":"Design-rationale.html#3-must-enforce-established-best-practices","node_type":"p","page":"Design rationale","sections":["This is the original design rationale for Meson. The syntax it\ndescribes does not match the released version","Can we do better?","3. Must enforce established best practices"],"context":{"gi-language":["default"]}},{"url":"Mixing-build-systems.html#the-definition-of-build-system-mixing","node_type":"p","page":"Meson's policy on mixing multiple build systems in one build directory","sections":["Meson's policy on mixing multiple build systems in one build directory","The definition of \"build system mixing\""],"context":{"gi-language":["default"]}},{"url":"Quick-guide.html#compiling-a-meson-project","node_type":"p","page":"Quickstart Guide","sections":["Using Meson","Compiling a Meson project"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-58-0.html#purge-subprojects-folder","node_type":"ul","page":"Release 0.58.0","sections":["New features","Purge subprojects folder"],"context":{"gi-language":["default"]}}]});
2 changes: 1 addition & 1 deletion assets/js/search/built

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/search/dependent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
urls_downloaded_cb({"token":"dependent","urls":[{"url":"Cross-compilation.html#machine-entries","node_type":"p","page":"Cross compilation","sections":["Cross compilation","Defining the environment","Machine Entries"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-37-0.html#new-compiler-function-symbols_have_underscore_prefix","node_type":"p","page":"Release 0.37","sections":["New features","New compiler function symbols_have_underscore_prefix\n"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-57-0.html#buildtype-remains-even-if-dependent-options-are-changed","node_type":"h2","page":"Release 0.57.0","sections":["New features","Buildtype remains even if dependent options are changed"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#depends-kwarg-now-supported-by-compilerpreprocess","node_type":"p","page":"Release 1.4.0","sections":["New features","\ndepends kwarg now supported by compiler.preprocess()"],"context":{"gi-language":["default"]}}]});
urls_downloaded_cb({"token":"dependent","urls":[{"url":"Builtin-options.html#details-for-default_both_libraries","node_type":"p","page":"Built-in options","sections":["Built-in options","Universal options","Core options","Details for default_both_libraries\n"],"context":{"gi-language":["default"]}},{"url":"Cross-compilation.html#machine-entries","node_type":"p","page":"Cross compilation","sections":["Cross compilation","Defining the environment","Machine Entries"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-37-0.html#new-compiler-function-symbols_have_underscore_prefix","node_type":"p","page":"Release 0.37","sections":["New features","New compiler function symbols_have_underscore_prefix\n"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-57-0.html#buildtype-remains-even-if-dependent-options-are-changed","node_type":"h2","page":"Release 0.57.0","sections":["New features","Buildtype remains even if dependent options are changed"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#depends-kwarg-now-supported-by-compilerpreprocess","node_type":"p","page":"Release 1.4.0","sections":["New features","\ndepends kwarg now supported by compiler.preprocess()"],"context":{"gi-language":["default"]}}]});
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fragment_downloaded_cb({"url":"Builtin-options.html#details-for-default_both_libraries","fragment":"Details for default_both_libraries\n\nSince 1.6.0, you can select the default type of library selected when using\na both_libraries object. This can be either 'shared' (default value, compatible\nwith previous meson versions), 'static', or 'auto'. With auto, the value from\ndefault_library option is used, unless it is 'both', in which case 'shared'\nis used instead.\nWhen default_both_libraries is 'auto', passing a both_libs dependency\nin both_libraries() will link the static dependency with the static lib,\nand the shared dependency with the shared lib.\n"});
fragment_downloaded_cb({"url":"Builtin-options.html#details-for-default_both_libraries","fragment":"Details for default_both_libraries\n\nSince 1.6.0, you can specify the default type of library selected when using a\nboth_libraries object with default_both_libraries. Note that, unlike\ndefault_library, this option does not affect how the library artifacts are\nbuilt, but how they are internally linked to the dependent targets within the\nsame project.\nThe possible values of this option are 'shared' (default value, compatible with\nprevious meson versions), 'static', and 'auto'. With auto, the value from the\ndefault_library option is used, unless it is 'both', in which case 'shared' is\nused instead.\nWhen default_both_libraries is 'auto', passing a both_libs dependency\nin both_libraries() will link the static dependency with the static lib,\nand the shared dependency with the shared lib.\n"});
Loading

0 comments on commit aa460cf

Please sign in to comment.