Supported Build Macros

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

The Intel® Fortran compiler supports certain build macros for use in the Property Pages dialog boxes associated with a project. Use these macros where character strings are accepted. The macro names are not case-sensitive.

The following table lists macros supported by Visual Studio* that are also supported by the Intel® Fortran Compiler.

Macro Name

Format

Configuration name

$(ConfigurationName)

Platform name

$(PlatformName)

Intermediate directory

$(IntDir)

Output directory

$(OutDir)

Input directory

$(InputDir)

Input path

$(InputPath)

Input name

$(InputName)

Input filename

$(InputFileName)

Input file extension

$(InputExt)

Inherit properties

$(Inherit)

Do not inherit properties

$(NoInherit)

Project directory

$(ProjectDir)

Project path

$(ProjectPath)

Project name

$(ProjectName)

Project filename

$(ProjectFileName)

Project file extension

$(ProjectExt)

Solution directory

$(SolutionDir)

Solution path

$(SolutionPath)

Solution name

$(SolutionName)

Solution filename

$(SolutionFileName)

Solution file extension

$(SolutionExt)

Target directory

$(TargetDir)

Target path

$(TargetPath)

Target name

$(TargetName)

Target filename

$(TargetFileName)

Target file extension

$(TargetExt)

Visual Studio* installation directory

$(VSInstallDir)

Visual C++* installation directory

$(VCInstallDir)

.NET Framework directory

$(FrameworkDir)

.NET Framework version

$(FrameworkVersion)

.NET Framework SDK Directory

$(FrameworkSDKDir)

The Intel® Fortran compiler also supports the following macros (not supported by Visual Studio*).

Macro Name

Format

Intel® Fortran IDE installation directory

$(IFIDEInstallDir)

For additional information on using build macros, see the Microsoft MSDN* online documentation.

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