Download SIMSCRIPT II.5 User`s Manual

Transcript
Developing Simulation Models with Simstudio
1.5 Building a Project
Building a project can be done in two ways: using menu options: Project->Build or
Project-> Rebuild All.
If you use Project-> Rebuild All, it will recompile all the project source files and re-link the
model. When you use Project->Build only the modules changed after the previous build will
be recompiled and the model will be re-linked.
In SIMSCRIPT II.5 when the preamble is changed, Project->Build will function as Project>Rebuild All, meaning all the source files will be recompiled and the model re-linked.
You can influence the model building procedure using menu option Options->Project. It
will bring up a dialog box Project options, where you can define what you want your model
to be built for Release or Debugging.
You can define compiler options for release mode to optimize code generation and to include
run-time checking. For Debugging mode you can define warning messages to be suppressed
or displayed and run-time checking to be performed. You can also request various compiler
listings to be generated.
Linking phase can also be defined. Your model can be linked With Graphics libraries or
Without Graphics libraries. It can also be linked statically or dynamically. Static link will
link all necessary modules in the executable, while dynamic link will link with the dynamic
link libraries. Dynamic link is faster and convenient during model development. Static link is
convenient when you want to link your model to be transferred to another computer for
execution.
The name of the executable, by-default is project_name, but typing the desired name in the
binary text box can change it.
13