- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am just starting using IVF+Microsoft Visual Studio. I have a problem specifying compilation order of my *.f90 files in a project. Those files that contain modules should be compiles first. However in the Solution Explorer window the files are listed in the alphabetical order, which I cannot figure out how to change. As a result I have to compile each module file individually before executing Build, which is very annoying. Please, let me know how to specify compilation order to avoid this problem. Thanks in advance.
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
Thanks Steve,
Ive noticed that in the Solution Explorer the order is different. It is not correct, however. Some modules have to be compiled prior to others, since the later use global variables defined in these modules. This is not happening. Modules are compiled in what it seems to be an alphabetical order. Is there any way to force a certain compilation order to avoid this problem? Thank you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please be sure to include the buildlog.txt from the Debug or Release folder that is created after a Rebuild so we can see what it did on your system.
The order as shown in Solution Explorer is simply alphabetical and does not reflect compile order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tanks again Steve,
I actually found the problem and its solution by studying the Output more carefully. It seems that the compiler has a problem with the following construct:
use a; use b; use c,
which I use at all interfaces. When at the modules I switch to
use a
use b
use c
The problem goes away and the build system figures out the compilation order correctly.
- 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