3 add_library(case2Foo1 STATIC foo1.c foo1b.c)
4 add_library(case2Foo2 STATIC foo2.c foo2b.c)
5 add_library(case2Foo3 STATIC foo3.c foo3b.c)
6 target_link_libraries(case2Foo1 case2Foo2)
7 target_link_libraries(case2Foo2 case2Foo3)
8 target_link_libraries(case2Foo3 case2Foo1)
10 add_library(case2Bar1 STATIC bar1.c)
11 add_library(case2Bar2 STATIC bar2.c)
12 add_library(case2Bar3 STATIC bar3.c)
13 target_link_libraries(case2Bar1 case2Bar2 case2Foo1)
14 target_link_libraries(case2Bar2 case2Bar3)
15 target_link_libraries(case2Bar3 case2Bar1)
17 add_executable(case2Zot zot.c)
18 target_link_libraries(case2Zot case2Bar1)
20 #set_property(GLOBAL PROPERTY GLOBAL_DEPENDS_DEBUG_MODE 1)
21 #set(CMAKE_LINK_DEPENDS_DEBUG_MODE 1)