Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / Dependency / CMakeLists.txt
blobf3578ac9fe9c3af8b23801d58e6a3e4b7e8a7563
1 PROJECT( Dependency )
3 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
5 # to test directories with only one character One was changed to 1
6 # There is one executable that depends on eight libraries. The
7 # system has the following dependency graph:
9 # NoDepA:
10 # NoDepB: NoDepA
11 # NoDepC: NoDepA
12 # 1:
13 # Two: Three
14 # Three: 1 Four
15 # Four: 1 Two NoDepA
16 # Five: Two
17 # SixA: Two Five
18 # SixB: Four Five
19 # Seven: Two
20 # Eight: Seven
22 # Exec: NoDepB NoDepC SixA SixB
23 # Exec2: Eight Five
24 # Exec3: Eight Five
25 # Exec4: Five Two
27 # The libraries One,...,Eight have their dependencies explicitly
28 # encoded. The libraries NoDepA,...,NoDepC do not.
30 # Although SixB does not depend on Two, there is a dependency listed
31 # in the corresponding CMakeLists.txt just because of commands used.
33 ADD_SUBDIRECTORY(NoDepA)
34 ADD_SUBDIRECTORY(NoDepB)
35 ADD_SUBDIRECTORY(NoDepC)
36 ADD_SUBDIRECTORY(1)
37 ADD_SUBDIRECTORY(Two)
38 ADD_SUBDIRECTORY(Three)
39 ADD_SUBDIRECTORY(Four)
40 ADD_SUBDIRECTORY(Five)
41 ADD_SUBDIRECTORY(Six)
42 ADD_SUBDIRECTORY(Seven)
43 ADD_SUBDIRECTORY(Eight)
44 ADD_SUBDIRECTORY(Exec)
45 ADD_SUBDIRECTORY(Exec2)
46 ADD_SUBDIRECTORY(Exec3)
47 ADD_SUBDIRECTORY(Exec4)
49 # Specific cases added to test fixes to problems found in real
50 # projects.
51 ADD_SUBDIRECTORY(Case1)
52 ADD_SUBDIRECTORY(Case2)