View previous topic :: View next topic |
Author |
Message |
Mike Cheek
Joined: 09 Jul 2008 Posts: 11 Location: Houston, TX
|
Posted: Wed Feb 03, 2010 7:51 pm Post subject: INCLUDE FILES |
|
|
Hello, Running Plato 4.3. I am ever so slowly recompiling a program previously created under MS Powerstation. I have a number of include files that I have placed in the same root directory as the project file. Plato finds them all and this works OK. But I just don't quite understand what I'm seeing. Within Project Explorer I see most of the include files (but not all!) at the root folder. But somehow an include file in a subdirectory also shows up in the include list, which is correct, but I don't know how I got it there. What I would really like is to put all my include files back in an "INC" subfolder like I had with Powerstation but I have been unable to do this. Could someone explain if there is a way to add include files while letting them remain in a subdirectory? Or point me to the place in the documentation that explains all this? Thanks! Oh, and this is all Fortran 77 fixed format. _________________ Mike Cheek |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Feb 03, 2010 10:17 pm Post subject: |
|
|
Plato handles include files automatically. You do not need to add them to the project. The folder they are in will simply be to place where the include files were created. |
|
Back to top |
|
 |
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Fri Feb 05, 2010 10:18 am Post subject: |
|
|
I also prefer the Mike-way to keep track of my include files. Within the project directory I usaully have an include subdirectory. Using the following menu in Plato I have everthing "clean":
1.) Project
2.) Properties
3.) Compiler options
4.) Source
5.) Specify INCLUDE paths
In this option I usaully only add \include (to keep) the files relative. |
|
Back to top |
|
 |
|