You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This mandatory option should be one of "executable", "dynamic-lib" and "static-lib".
191
+
This mandatory option should be one of:
186
192
187
-
*More types will be added*
193
+
1. "executable" – a normal executable application.
194
+
2. "dynamic-lib" - a dynamic library.
195
+
3. "static-lib" - static library.
196
+
4. "benchmark" - target that only runs benchmarks.
197
+
5. "test" - target that only runs tests.
198
+
6. "object-files" - compile to object files, but does not perform any linking.
199
+
7. "prepare" - target that does not perform any compilation, but may do things like invoking other scripts using "exec".
188
200
189
201
## Using environment variables
190
202
191
-
*Not supported yet*
203
+
*Not supported yet.*
192
204
193
-
In addition to constants any values starting with "$" will be assumed to be environment variables.
205
+
In addition to constants, any values starting with `$` will be assumed to be environment variables.
194
206
195
-
For example `"$HOME"` would on unix systems return the home directory. For strings that start with $ but *should not* be interpreted as an environment variable. For example, the string `"\$HOME"` would be interpreted as the plain string `"$HOME"`.
207
+
For example `"$HOME"` would on Unix-like systems (e.g. Linux, the BSDs, Mac) return the home directory. For strings that start with `$` but *should not* be interpreted as an environment variable you need to escape it with a backslash (`\`). For example, the string `"\$HOME"` would be interpreted as the plain string `"$HOME"`.
0 commit comments