Skip to main content

more options


Library Projects

Libraries come in C and Fortran flavors and can be either:

  • static (.lib)
  • dynamic(.dll)

 

Project:Dependencies

For additional details on how to link different flavors of external libraries see the section "Compatibility" in this module.

If you have many executables that use a common set of routines, it is a good idea to put them in a library. This can be done by creating a library project and putting the source code for these common files into it.

Libraries come in C and Fortran flavors and can be either:

  • static (.lib)
  • dynamic(.dll)

 

Project:Dependencies

Static libraries are easier to use if you are new to libraries. Once you have a library project, you can make other projects dependent on it through the "Project | Project Dependencies" dialog. Then if you update a file in a library project, the library will get rebuilt any time you rebuild a project that depends on it. This dialog can also be reached by right-clicking on the project in the Solution Explorer pane.

For additional details on how to link different flavors of external libraries see the section on "Compatibility" in this module.