Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29396 Discussions

Populating the Project Source file list

bbradley
Beginner
584 Views

I am just starting to create a new (Windows) Intel Fortran 11.1 project for a Unix based program consisting of some 200 source files spread over a dozen different directories. Many of the directories contain Fortran source files that are used in other projects, so it is not simply a "drag and drop" operation to select all the source files for the project.

I have written a short program to analyse the Unix Makefile and generate a list of files to be included in the project. Last time I did this I used a similar list to then manually select each of the required source files, and it probably took less time to do that then to write this blurb. Whew!

Question: is there any way to import a list containing full path names to source files to be included in a project ? Thanks.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
584 Views
Not that I know of, but if you open the .vfproj file with a text editor, you'll see that it is an XML file and it should not be difficult to construct the additional XML lines for the source files to be added, and then paste them into the .vfproj.

For example, a line may have:



You can use full paths in the "RelativePath" value as well.

0 Kudos
Reply