document :use better

This commit is contained in:
josh committed 2019-08-17 16:35:06 -04:00
1 parent a2a1d08014
commit 937c964c3e
4 files changed
+30 -2

No files matched your search

+12
View File
@@ -323,6 +323,12 @@ defined, and defaults to `false` if the `:set_define` option is defined.
If set, a build define of the specified String will be added to the
`CPPDEFINES` construction variable array if the requested library is found.
##### `:use`
If not set, the library will be used by default in all `Environment` objects.
If set, the library will only be used in `Environment` objects that have a
matching `:use` flag set.
###> Checking for a Program
The `check_program` method can check for the existence of an executable in the
@@ -377,6 +383,12 @@ defined, and defaults to `false` if the `:set_define` option is defined.
If set, a build define of the specified String will be added to the
`CPPDEFINES` construction variable array if the requested package is found.
##### `:use`
If not set, the library will be used by default in all `Environment` objects.
If set, the library will only be used in `Environment` objects that have a
matching `:use` flag set.
###> Custom Configuration Checks
The `Rsconscript` author can add custom configuration checks to be performed