Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

Setting the Options for a Project


The options for a project describe how to run, compile, and build the project. To set the options for your project, complete the following steps:

  1. Open your project. Select File ® Open Project. Select the path and name of your project file.
  2. Click Project ® Options... The Project Options dialog is displayed.
  3. Set the options based upon the information in the following table:
    Option
    Description
    Name
    Specifies the project name. (This field is read only.)
    Path
    Specifies the path of the project. (This field is read only.)
    Project Type
    Specifies how the project will run or build. The available formats are:
    • Source File (.pro).
    • Save File (.sav).
    • Licensed Save File (.sav)
    Note - The Licensed Save File option is grayed out if you do not have an Unlimited Right to Distribute license. For more information on how to distribute IDL Runtime with your application, contact your RSI sales representative.
    For more information on building and running projects, see Building a Project or Running an Application from a Project.
    Run Command
    Specifies the IDL command to run your application. The default is the name of the project. This can be any valid IDL command including .sav or .pro files (these can be files that are included or not included in your project.) Typically this is the main program in your application.
    Tip - You can use the %? command stream substitution to call a dialog to enter a value or values to pass to the called program. For example, if you have a program named "main" and it requires the argument "x" to be passed to it, then you can enter the following for the Run Command:

    main, %?(Enter the value for x, x)

    For more information on how to run your application, see Running an Application from a Project.
    Build Command
    Specifies the IDL command to build the application. If left blank, the files in the project are built according to the Project Type specified and are compiled (if applicable) in the order specified under Build Order. For more information, see Selecting the Build Order.
    You can enter any valid IDL command including .sav or .pro files. You can also enter a batch file using @filename in order to perform other operations (for example, running a Perl script on your source or data files before compiling).
    Save File
    Specifies the name of the .sav file to create when building your project. For more information on building a project, see Building a Project.
    Note - This field is grayed out if you have selected the Source File (.pro ) Project Type.
  4. After completing any changes, click OK.
  5. Save your project file by selecting File ® Save Project.
  6. Note
    In addition to setting options for a project, you can also set an individual file's properties. For more information, see Setting the Properties of a File.


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]