2002-02-25 23:22:39 +03:00
|
|
|
#
|
|
|
|
# Add test
|
|
|
|
#
|
|
|
|
ADD_EXECUTABLE(testing2 testing2.cxx)
|
2008-12-18 20:28:05 +03:00
|
|
|
ADD_TEST(testing.2 ${Testing_BINARY_DIR}/bin/testing2)
|
2010-12-16 00:49:34 +03:00
|
|
|
|
|
|
|
add_test(NotCycle.a ${CMAKE_COMMAND} -E echo a)
|
|
|
|
add_test(NotCycle.test1 ${CMAKE_COMMAND} -E echo test1)
|
|
|
|
set_property(TEST NotCycle.test1 PROPERTY DEPENDS NotCycle.a)
|
|
|
|
|
|
|
|
add_test(NotCycle.b ${CMAKE_COMMAND} -E echo b)
|
|
|
|
add_test(NotCycle.test2 ${CMAKE_COMMAND} -E echo test2)
|
|
|
|
set_property(TEST NotCycle.test2 PROPERTY DEPENDS NotCycle.b NotCycle.test1)
|
|
|
|
|
|
|
|
add_test(NotCycle.c ${CMAKE_COMMAND} -E echo c)
|
|
|
|
add_test(NotCycle.test3 ${CMAKE_COMMAND} -E echo test3)
|
|
|
|
set_property(TEST NotCycle.test3 PROPERTY DEPENDS NotCycle.c NotCycle.test1 NotCycle.test2)
|