LF Fortran 95

Linking a Project With Libraries or Object Files

Library created by another project in the solution

  1. Right-click on the References folder in the Application project and select "Add Reference...".
  2. Select the Projects tab and then the desired Static Library project and click OK.
  3. The library built by that Static Library project will be linked in when the Application project is built.

External library or object file(s)

To link a project with an existing external library or object file:

  1. Right-click on the References folder in the Application project and select "Add Reference...".
  2. Select the Browse tab and then browse to the desired file and click OK.
  3. The library or object file will be linked in when the Application project is built.

Alternatively, manually add an existing library or object file to a project's link list:

  1. Right-click on the project name in the Solution Explorer and select "Properties" from the context menu. The Project Property Pages will appear.
  2. Expand the "Configuration Properties" node, if it is not already expanded.
  3. Select the "Linker" node, then select "Additional Linker Options"

  4. In the text box, add the pathnames of the libraries or object files you want to add to the link. If a pathname contains a space, the entire path/filename should be enclosed in quotes. Multiple file names are separated by one or more spaces.

See Also

Compiling and Linking a Project With Modules