Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

projet setting: global vs. local

barakobama
Beginner
334 Views

Does global override local when we set project for Fortran?

Here, I mean by global and local:

global: setting on the property window after right click on the Fortran project.

local: setting on the property window after right click ona specific Fortran file.

It seems to me global overrides the local.

-BO

0 Kudos
2 Replies
Ron_Green
Moderator
334 Views
"Global" I think of as the project defaults. This is the base set of options to be applied to the whole project.

"Local" I think of as source-file specific options. These should take precedence over project defaults.

Often one wants to build an entire project with one set of options BUT perhaps a handful of source files need either more optimization or less optimization. Thus, the "local" or file-specific options should take precedence.

Consult your build log for the definite answer.

ron
0 Kudos
Steven_L_Intel1
Employee
334 Views
Ron is correct - properties that you set for individual files override the project-wide setting.
0 Kudos
Reply