Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / Dependency / CMakeLists.txt
blob49bf88ced3cdaee1ed4879b91f0c50d592dee231
1 PROJECT( Dependency )
3 # to test directories with only one character One was changed to 1
4 # There is one executable that depends on eight libraries. The
5 # system has the following dependency graph:
7 # NoDepA:
8 # NoDepB: NoDepA
9 # NoDepC: NoDepA
10 # 1:
11 # Two: Three
12 # Three: 1 Four
13 # Four: 1 Two NoDepA
14 # Five: Two
15 # SixA: Two Five
16 # SixB: Four Five
17 # Seven: Two
18 # Eight: Seven
20 # Exec: NoDepB NoDepC SixA SixB
21 # Exec2: Eight Five
22 # Exec3: Eight Five
23 # Exec4: Five Two
25 # The libraries One,...,Eight have their dependencies explicitly
26 # encoded. The libraries NoDepA,...,NoDepC do not.
28 # Although SixB does not depend on Two, there is a dependency listed
29 # in the corresponding CMakeLists.txt just because of commands used.
31 ADD_SUBDIRECTORY(NoDepA)
32 ADD_SUBDIRECTORY(NoDepB)
33 ADD_SUBDIRECTORY(NoDepC)
34 ADD_SUBDIRECTORY(1)
35 ADD_SUBDIRECTORY(Two)
36 ADD_SUBDIRECTORY(Three)
37 ADD_SUBDIRECTORY(Four)
38 ADD_SUBDIRECTORY(Five)
39 ADD_SUBDIRECTORY(Six)
40 ADD_SUBDIRECTORY(Seven)
41 ADD_SUBDIRECTORY(Eight)
42 ADD_SUBDIRECTORY(Exec)
43 ADD_SUBDIRECTORY(Exec2)
44 ADD_SUBDIRECTORY(Exec3)
45 ADD_SUBDIRECTORY(Exec4)