- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how can I exclude files from build in Fortran 8.1? In CVF I was linking the debug version of a code against a debug version of a library (*.lib) and similarly for the release version, using the 'exclude from build' feature.
I searched through the 8.1 project settings, but couldnt find it. I also looked through help and it says it can be done for the C++ projects but I couldnt find the analogous steps in the Fortran menus.
thanks in advance
I searched through the 8.1 project settings, but couldnt find it. I also looked through help and it says it can be done for the C++ projects but I couldnt find the analogous steps in the Fortran menus.
thanks in advance
Message Edited by forall on 01-31-2005 11:01 PM
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right click on the file, select Properties. if the Build tab is not active, click it. Change "Exclude from build" from No to Yes.
I'd think this is the same as for C++.
I'd think this is the same as for C++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arrr, well explains why I couldnt find the option - I am trying to disable a *.lib file, not a *.f90. If I right-click on an *.lib file and goto Properties, I only have 'general' tab - there is no 'build' tab. The *.f90 files do have the option. Another change from CVF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The whole IDE environment is different from the way CVF worked, and a lot of things that "came for free" with the VS6 integration have to be explicitly enabled for Fortran projects. Looks as if this is one that was missed. I'll ask that it be added.
An alternative is to not add the .lib as a project file, but to specify it under the Link tab in project properties. You can have different libraries for different configurations.
An alternative is to not add the .lib as a project file, but to specify it under the Link tab in project properties. You can have different libraries for different configurations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
where in the link tab? I tried, unsucesfully,
>general/additional library directories (pasting either path or path/name.lib) and
>advanced>import library (paste path/name.lib)
>general/additional library directories (pasting either path or path/name.lib) and
>advanced>import library (paste path/name.lib)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Input..Additional Dependencies

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