Intel Fortran: compiler option "/QSave" not converted to project property with MS Visual Studio
It seems that compiler option /Qsave
is not recognized as such by CMake and thus not converted to the corresponding project property ("Fortran>Data>Local Variable Storage") in MS Visual Studio with Intel OneAPI.
I would expect that adding compiler option /Qsave
(e.g. target_compile_options(tmp PRIVATE /Qsave)
), would result in property "Local Variable Storage" being set to value "All Variables SAVE (/Qsave)". This is not the case, as shown below.
Instead it's added as "Additional Option".
For compiler option /traceback
it does work correctly.
Is this expected behavior?
Minimal example: tmp.f90, CMakeLists.txt
My system:
- Windows 10 x64
- MS Visual Studio Professional x64 17.1.7
- Intel Fortran Compiler 2022.1.0.256
- CMake 3.24.0