![]() |
![]() |
![]() |
![]() | Users | ![]() |
![]() |
from rsf.proj import *This statement tells SCons where to find the Flow, Plot and Result commands, and must be included in every SConstruct.
After that statement has been entered, you can enter as many Flow, Plot and Result commands as you wish making sure to use proper syntax. It's helpful to use a text editor that has Python syntax highlighting, as that will help you find and remedy strings that are not closed. You can also create Python comments using the mark to indicate the beginning of a comment to help document your SConstructs.
Lastly, you must include the following statement at the end of your SConstruct:
End()This statement tells SCons that the script is done and that it should not look for anything else in the script. Make sure to include this statement as the very last item in every SConstruct.
Here's a sample SConstruct:
Note: you do not have to order your Flow, Plot and Result commands as shown above. You can mix Flow, Plot and Result in any order. SCons automatically establishes the relationships between related files and commands.
![]() |
![]() |
![]() |
![]() | Users | ![]() |
![]() |