- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a project that is created using visual studio. I have following structure (as seen in the windows explorer)
helloworld.vcproj
Code
Release
Debug
All the source code is the "code" folder.
a) I would like to compile the code folder and the object files and .exe should go to Release folder
could u someone tell me what should be the options for ifort?
could someone tell me what should be the options to compile the code with debug option and how to debug program in command line?
I will come to the makefile later
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have a .vcproj, that won't build a Fortran project.
You specify the "Intermediate directory" Under General for where the objects go, and "Output directory" for the executable.
From the command line, use /obj: to specify the object file location.
To build with debug from the command line, add /debug to the ifort command. You can't debug from the command line, but you can run devenv.exe from a command prompt to start a program under the debugger - use devenv /? to see options.

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