@@ -52,31 +52,36 @@ on Linux platforms.
52
52
53
53
# ## Core options
54
54
55
- Options that have a separate cross option will be prefixed with
56
- cross\_, for example, "cross_pkg_config_path" controls the paths
57
- pkg-config will search for host dependencies in a cross compile.
58
- They have no effect when the host and build machines are the same.
59
-
60
-
61
- | Option | Default value | Description | Has Separate cross |
62
- | ------ | ------------- | ----------- | ------------------ |
63
- | auto_features {enabled, disabled, auto} | auto | Override value of all 'auto' features | no |
64
- | backend {ninja, vs,<br>vs2010, vs2015, vs2017, xcode} | ninja | Backend to use | no |
65
- | buildtype {plain, debug,<br>debugoptimized, release, minsize, custom} | debug | Build type to use | no |
66
- | debug | true | Debug | no |
67
- | default_library {shared, static, both} | shared | Default library type | no |
68
- | errorlogs | true | Whether to print the logs from failing tests. | no |
69
- | install_umask {preserve, 0000-0777} | 022 | Default umask to apply on permissions of installed files | no |
70
- | layout {mirror,flat} | mirror | Build directory layout | no |
71
- | optimization {0, g, 1, 2, 3, s} | 0 | Optimization level | no |
72
- | pkg_config_path | [] | Additional paths for pkg-config to search before builtin paths | yes |
73
- | cmake_prefix_path | [] | Additional prefixes for cmake to search before builtin paths | yes |
74
- | stdsplit | true | Split stdout and stderr in test logs | no |
75
- | strip | false | Strip targets on install | no |
76
- | unity {on, off, subprojects} | off | Unity build | no |
77
- | warning_level {0, 1, 2, 3} | 1 | Set the warning level. From 0 = none to 3 = highest | no |
78
- | werror | false | Treat warnings as errors | no |
79
- | wrap_mode {default, nofallback,<br>nodownload, forcefallback} | default | Wrap mode to use | no |
55
+ Options that are labled "per machine" in the table are set per machine.
56
+ Prefixing the option with `build.` just affects the build machine configuration,
57
+ while unprefixed just affects the host machine configuration, respectively.
58
+ Using the option as-is with no prefix affects all machines. For example :
59
+
60
+ - ` build.pkg_config_path` controls the paths pkg-config will search for just
61
+ `native : true` dependencies (build machine).
62
+
63
+ - ` pkg_config_path` controls the paths pkg-config will search for just
64
+ `native : false` dependencies (host machine).
65
+
66
+ | Option | Default value | Description | Is per machine |
67
+ | ------ | ------------- | ----------- | -------------- |
68
+ | auto_features {enabled, disabled, auto} | auto | Override value of all 'auto' features | no |
69
+ | backend {ninja, vs,<br>vs2010, vs2015, vs2017, xcode} | ninja | Backend to use | no |
70
+ | buildtype {plain, debug,<br>debugoptimized, release, minsize, custom} | debug | Build type to use | no |
71
+ | debug | true | Debug | no |
72
+ | default_library {shared, static, both} | shared | Default library type | no |
73
+ | errorlogs | true | Whether to print the logs from failing tests. | no |
74
+ | install_umask {preserve, 0000-0777} | 022 | Default umask to apply on permissions of installed files | no |
75
+ | layout {mirror,flat} | mirror | Build directory layout | no |
76
+ | optimization {0, g, 1, 2, 3, s} | 0 | Optimization level | no |
77
+ | pkg_config_path {OS separated path} | '' | Additional paths for pkg-config to search before builtin paths | yes |
78
+ | cmake_prefix_path | [] | Additional prefixes for cmake to search before builtin paths | yes |
79
+ | stdsplit | true | Split stdout and stderr in test logs | no |
80
+ | strip | false | Strip targets on install | no |
81
+ | unity {on, off, subprojects} | off | Unity build | no |
82
+ | warning_level {0, 1, 2, 3} | 1 | Set the warning level. From 0 = none to 3 = highest | no |
83
+ | werror | false | Treat warnings as errors | no |
84
+ | wrap_mode {default, nofallback,<br>nodownload, forcefallback} | default | Wrap mode to use | no |
80
85
81
86
# # Base options
82
87
0 commit comments