View previous topic :: View next topic |
Author |
Message |
AKS
Joined: 19 Mar 2008 Posts: 29
|
Posted: Tue Jun 16, 2020 7:58 pm Post subject: Source files are placed in INCLUDE in Plato |
|
|
I am trying to add source files (*.for, *.f) to the Source tab under the project name. However, all of the files end up in the INCLUDE directory under the project name. I then try to add the Source files to the Source tab and the files are not there. Also as stated previously, I cannot erase a project. Once it's created, I cannot deleted. I'd appreciate any help with this matter. Thank you. P.S. I did successfully create a project with the source files in the correct place. But I cannot duplicate this effort. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Tue Jun 16, 2020 10:26 pm Post subject: |
|
|
In a Plato project, a "source file" is a file that is going to be processed by the compiler. In the case of Fortran, a file that is INCLUDEd in the program is not a "source file" in this sense.
You can add INCLUDEd files to the list of "source files" but you must exclude them from the build by setting their properties.
You can't add or remove files from the list of "include files". This is managed for you by Plato. If the list is wrong (i.e. it contains files that are not "include" files) then try "Rebuilding the dependencies". You will find this command on the Build menu. |
|
Back to top |
|
|
AKS
Joined: 19 Mar 2008 Posts: 29
|
Posted: Wed Jun 17, 2020 3:14 pm Post subject: Source files are placed in INCLUDE in Plato |
|
|
Thanks. I'll give that a try.
E.J. Yoerger |
|
Back to top |
|
|
|