- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is there a way to change the default Fortran and Linker settings in Visual Studio? I'm using IFV 9.1 and VS 2005.net
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure that that is going to do what I want. If I understand correctely that actually changes what the compiler itself thinks are the defaults (there are about a dozen that we are changing, e.g. assume:buffered_io, iface:cvf, threads - and for the linker just a few, like map).
I'm creating Visual Studio projects for everyone else on the team to use. I could create a cfg file and distribute it, but I'd rather not. I was hoping for something that would set different defaults on the command line that Studio creates.
Maybe I'm not giving your idea enough thought. I'm going to resist making a quick decision here and see if I can make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about using an environment variable such as
MartyMikeIVFOPT=/a /b /c
Then in the additional command line section include $(MartyMikeIVFOPT)
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you're correct that changes to ifort.cfg change compiler defaults, and Jim's suggestion, if it worked (I'm not sure), would amount to the same thing (but would also require users to modify each project.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page