.NET 2003 External Tool -  omNET: TGT Generation

 

The first .NET 2003 External Tool that needs to be configured is omNET: TGT Generation.  The following steps are required to configure omNET: TGT Generation.

 

 

Table SI-23  Adding the External Tool

Step

Action

1

Go to 

External Tools in the menu bar. Click “Add” in the External Tools screen.

2

Type the title name in the “Title” field, for example, “omNET: TGT Generation”

3

Type omNET.exe in the “Command” field for the name of the executable

4

Add the following arguments to the “Arguments” field to pass to omNET.exe.
      -omProject <Meister Project>
      -omSearchpath <Meister Dependency Directories>
      -slnDir $(SolutionDir)
      -slnFile $(SolutionFileName)
      -action CONVERT

 

Once added the “Arguments” field should look like:
-omProject <Meister Client Project Name> -omSearchpath <Meister Client Dependency Directories> -slnDir $(SolutionDir) -slnFile $(SolutionFileName) -action CONVERT

5

Add the build directory path to the “Initial Directory” field.  This is where Build Control Files and logs will be generated.  All executables will also be built relative to the Build Directory. This value should be set the same for both the Conversion and Build External Tool settings.

 

Note: The “Initial Directory” for omNET should not be the solution directory. This causes the main solution files to be overwritten and a pop-up message will result.  The initial directory must exist (currently). If the directory does not exist, it will use the solution directory.

6

Check the box “Use Output window” to have omNET logging information displayed at in the console window.

 


If the -omproject and -omsearchpath arguments do not have defined parameters, the omNET process will default to the .sln file name minus the “.sln” extension for the Project value and “DEVELOPMENT” for the Dependency Directories value.  In addition to the required arguments indicated above, all of the standard bldmake options can also be added to the “Arguments” field.

Note: The variables are provided to the External Tools by the .NET 2003 IDE and can be selected by clicking on the black arrow next to the “Arguments” entry field.