Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / Dependency / Case1 / CMakeLists.txt
blob4c5fc203756897bd29859c27046982ee780d1cc4
1 project(CASE1)
3 # The old anaylize lib depends stuff in cmTarget gets this case wrong.
4 # The cmComputeLinkDepends implementation gets it right.
6 add_library(case1a STATIC a.c)
8 add_library(case1b STATIC b.c b2.c)
9 target_link_libraries(case1b case1a)
11 add_library(case1c STATIC c.c c2.c)
12 target_link_libraries(case1c case1b)
14 add_library(case1d STATIC d.c)
15 target_link_libraries(case1d case1c)
17 add_executable(hello main.c)
18 target_link_libraries(hello case1c case1b case1d case1c)