- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there an easy way to use my vfproj file to produce an equivalent command line build? Do I need to make a Make file? A batch file?
There must be a way to get from the IDE to the command line, surely?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Easiest way - do a build of your project. Open the buildlog,htm and copy all the commands shown into a .bat file. I do this all the time. The link step may take a little fiddling.
Visual Studio used to have an option to save a makefile, but they dropped it many years ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve, that's handy - but presumably I need to then execute the batch in the context of an Intel Fortran command prompt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right, though you could put in a "call" of ifortvars.bat at the start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Excellent thanks - once more question, do I need to do anything special for my 64-bit build configurations? Or is that taken care of with the '64-bit' Build Log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The only thing would be to establish the environment correctly with the ifortvars.bat command's argument of intel64 vs, ia32. The build commands themselves don't change.
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page