TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Tests / Dependency / CMakeLists.txt
1 cmake_minimum_required (VERSION 2.6)
2 PROJECT( Dependency )
3
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:
7 #
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
20 #
21 # Exec: NoDepB NoDepC SixA SixB
22 # Exec2: Eight Five
23 # Exec3: Eight Five
24 # Exec4: Five Two
25 #
26 # The libraries One,...,Eight have their dependencies explicitly
27 # encoded. The libraries NoDepA,...,NoDepC do not.
28 #
29 # Although SixB does not depend on Two, there is a dependency listed
30 # in the corresponding CMakeLists.txt just because of commands used.
31
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)
47
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)