Build of mip_test and lp_test precede the running of the tests (#419)
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 15 Apr 2011 09:37:47 +0200
changeset 9452024bf2ecdd6
parent 944 b4af20d02ae0
child 946 1f1328691a07
Build of mip_test and lp_test precede the running of the tests (#419)
test/CMakeLists.txt
     1.1 --- a/test/CMakeLists.txt	Fri Apr 15 09:26:09 2011 +0200
     1.2 +++ b/test/CMakeLists.txt	Fri Apr 15 09:37:47 2011 +0200
     1.3 @@ -65,6 +65,7 @@
     1.4  
     1.5    TARGET_LINK_LIBRARIES(lp_test ${LP_TEST_LIBS})
     1.6    ADD_TEST(lp_test lp_test)
     1.7 +  ADD_DEPENDENCIES(check lp_test)
     1.8  
     1.9    IF(WIN32 AND LEMON_HAVE_GLPK)
    1.10      GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    1.11 @@ -106,6 +107,7 @@
    1.12  
    1.13    TARGET_LINK_LIBRARIES(mip_test ${MIP_TEST_LIBS})
    1.14    ADD_TEST(mip_test mip_test)
    1.15 +  ADD_DEPENDENCIES(check mip_test)
    1.16  
    1.17    IF(WIN32 AND LEMON_HAVE_GLPK)
    1.18      GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)