Intel® Fortran Compiler 17.0 Developer Guide and Reference
This section provides the ifort command-line options that correspond to Visual Studio* 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:
To create Console Application Projects, you do not need to specify any options. (If you link separately, specify the link option /subsystem:console.) This is the default project type created.
To create Standard Graphics Application Projects, specify the libs option with keyword qwins (also sets certain linker options).
To create QuickWin Application Projects, specify the libs option with keyword qwin (also sets certain linker options).
To create Windowing Application Projects, specify the winapp option (also sets certain linker options).
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.