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

file list

billaustralia
Beginner
568 Views
I produce several dll and exe files which have some source files that are used in more than one.

Currently I do this by putting all the source files in one directory. This all works fine except for one thing.

I have been unable to extract the list of source files shown in the workspace window in one project into a text editor.

Any way of doing this? Or should I have a different set up?
0 Kudos
3 Replies
Steven_L_Intel1
Employee
568 Views
A couple of things I can think of:

1. Do a Rebuild All and copy the list of files displayed in the Output pane.

2. Extract the list from the .DSP file for the project (may take some work with a text editor)

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
568 Views
Let me also add that, if you put all shared files into one "virtual" workspace folder (e.g. under "Source files" group), they will appear in .dsp file as a contiguous group, enclosed in '# Begin Group "Shared files"' ... '# End Group'. In this way, you can copy & paste them easily from one worskpace to another using a text editor.

Too bad that VS's FileView does not support drag & drop operations between applications (i.e. Explorer or another instance of VS).

Jugoslav
0 Kudos
gregscvf
Beginner
568 Views
Bill,
About 70% of my Subs have multi-project usage. I find it convenient to place the common subs in a single folder, ".LibrarySubs", as you suggested.
But I created a LIB project and a .LIB file with all these subs. The file Library.LIB is added to most projects by adding it to the settings under Link, General, Object/Library modules: Library.LIB.
Also, the .LIB directory must be added to Tools, Options, Directories.
Greg
0 Kudos
Reply