Specifying Project Types with ifort Command Options

The following applies to Fortran for Microsoft Visual Studio* 2010 and 2008.

This section provides the ifort command options that correspond to Visual Studio* integrated development environment (IDE) Project Types.

Creating Main Project Types

The first four projects described below are main project types, requiring main programs. You can create any of the following project types with the ifort command:

Creating Library Project Types

The following project types are library projects, without main programs. You can create them with the ifort command:

  • To create Dynamic-Link Library Projects, specify the dll option (which sets the libs option with keyword dll).

  • To create Static Library Projects:

    • If your application will not call any QuickWin or Standard Graphics routines, specify the libs option with keyword static and c options to create the object files.

    • If your application will call QuickWin routines, specify the libs option with keyword qwin and c options to create the object files.

    • If your application will call Standard Graphics routines, specify the libs option with keyword qwins and c options to create the object files.

    • Use the LIB command to create the library.

Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.