CMake Nightly Date Stamp
[kiteware-cmake.git] / Tests / Dependency / CMakeLists.txt
blobcae108ea8794eb5bbd82c316ebc92a4395dc2838
1 cmake_minimum_required (VERSION 3.5)
2 project( Dependency )
4 # to test directories with only one character One was changed to 1
5 # There is one executable that depends on eight libraries. The
6 # system has the following dependency graph:
8 # NoDepA:
9 # NoDepB: NoDepA
10 # NoDepC: NoDepA
11 # 1:
12 # Two: Three
13 # Three: 1 Four
14 # Four: 1 Two NoDepA
15 # Five: Two
16 # SixA: Two Five
17 # SixB: Four Five
18 # Seven: Two
19 # Eight: Seven
21 # Exec: NoDepB NoDepC SixA SixB
22 # Exec2: Eight Five
23 # Exec3: Eight Five
24 # Exec4: Five Two
26 # The libraries One,...,Eight have their dependencies explicitly
27 # encoded. The libraries NoDepA,...,NoDepC do not.
29 # Although SixB does not depend on Two, there is a dependency listed
30 # in the corresponding CMakeLists.txt just because of commands used.
32 add_subdirectory(NoDepA)
33 add_subdirectory(NoDepB)
34 add_subdirectory(NoDepC)
35 add_subdirectory(1)
36 add_subdirectory(Two)
37 add_subdirectory(Three)
38 add_subdirectory(Four)
39 add_subdirectory(Five)
40 add_subdirectory(Six)
41 add_subdirectory(Seven)
42 add_subdirectory(Eight)
43 add_subdirectory(Exec)
44 add_subdirectory(Exec2)
45 add_subdirectory(Exec3)
46 add_subdirectory(Exec4)
48 # Specific cases added to test fixes to problems found in real
49 # projects.
50 add_subdirectory(Case1)
51 add_subdirectory(Case2)
52 add_subdirectory(Case3)
53 add_subdirectory(Case4)
54 add_subdirectory(Case5)