Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Feature request: "Inherit from parent or project defaults" for Additional Options

$
0
0

Sometimes it is useful, or even necessary(?), to type in compile flags manually in the property field Configuration Properties->Command Line->Additional Options. However, "Additional Options" behave somewhat inconsistently.

For C and C++ projects, you can specify project wide Additional Options, and you can also add source file specific Additional Options. In Visual Studio 2010, there is a tick box immediately above the "Additional Options" field that reads "Inherit from parent or project defaults". This toggle is very convenient and works exactly as you would expect. It allows you to mix project wide flags and source file specific compile flags easily.

Fortran projects, on the other hand, have no tick box to toggle inheritance of Additional Options. Instead, the compile flags are applied in a rather inconsistent way: Source files that have their own set of Additional Options do *not* inherit from the project, but all other source files do. This makes it easy to loose track of Additional Options, and creates difficulties for external tools, such as CMake. (I first encountered this issue using CMake, see: http://public.kitware.com/Bug/view.php?id=15381.)

So, here is my feature request: It would be great if Fortran projects would either always inherit Additional Options, or if there was a tick box like the one seen in C/C++ projects.

Øyvind


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>