« Prev 4.2.8 Global Configuration Check Options | Table of Contents | Next » 4.3.1 Environments |
Building target files is accomplished by using Environments. Environments can be created at the top level of the build script, or from within a task action block.
Environments are created with the
env
build script
method.
Here is an example build script that creates an Environment and registers a
Program build target:
env do |env| env.Program("myprog.exe", glob("src/**/*.c")) end
This Rsconscript
would build an executable called myprog.exe
from all C
source files found recursively under the src
directory.
« Prev 4.2.8 Global Configuration Check Options | Table of Contents | Next » 4.3.1 Environments |