Tests/FortranModules/Submodules/CMakeLists.txt
raw| 1 | # The program units in this file consist of a module/submodule |
| 2 | # tree represented by the following graph: |
| 3 | # |
| 4 | # parent |
| 5 | # | |
| 6 | # / \ |
| 7 | # / \ |
| 8 | # child sibling |
| 9 | # | |
| 10 | # grandchild |
| 11 | # | |
| 12 | # GreatGrandChild |
| 13 | # |
| 14 | # where the parent node is a module and all other nodes are submodules. |
| 15 | |
| 16 | add_executable(submod |
| 17 | main.f90 |
| 18 | parent.f90 |
| 19 | obfuscated_parent.f90 |
| 20 | child.f90 |
| 21 | grandchild.f90 |
| 22 | greatgrandchild.f90 |
| 23 | sibling.f90 |
| 24 | ) |