View previous topic :: View next topic |
Author |
Message |
hb
Joined: 11 Sep 2007 Posts: 1
|
Posted: Tue Sep 11, 2007 12:35 pm Post subject: Relative path to source code files |
|
|
How can I add Fortran source code files from different directories to my project so that these file references will be saved in the project file with relative paths? When I add files in Visual Studio using Add -> Existing Item, the absolute path of the files is stored in the project file. |
|
Back to top |
|
|
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Tue Sep 11, 2007 11:58 pm Post subject: |
|
|
When files are added to a project they are added as full paths. In order to maintain a project file with relative paths it is neccessary to edit the project file by hand. Its fine to do this and the relative paths will be preserved in the file. Make sure you use double backslash when specifying file locations. |
|
Back to top |
|
|
|