test/CMakeLists.txt
changeset 1062 1f1328691a07
parent 1044 66156a3498ea
child 1065 b522385b2a0d
child 1066 f9e3f73e17f1
child 1069 b1b534ddb539
equal deleted inserted replaced
55:ad1058f72cbf 58:c9903f61ad51
    63     SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${COIN_CLP_LIBRARIES})
    63     SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${COIN_CLP_LIBRARIES})
    64   ENDIF()
    64   ENDIF()
    65 
    65 
    66   TARGET_LINK_LIBRARIES(lp_test ${LP_TEST_LIBS})
    66   TARGET_LINK_LIBRARIES(lp_test ${LP_TEST_LIBS})
    67   ADD_TEST(lp_test lp_test)
    67   ADD_TEST(lp_test lp_test)
       
    68   ADD_DEPENDENCIES(check lp_test)
    68 
    69 
    69   IF(WIN32 AND LEMON_HAVE_GLPK)
    70   IF(WIN32 AND LEMON_HAVE_GLPK)
    70     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    71     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    71     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    72     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    72     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    73     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
   104     SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${COIN_CBC_LIBRARIES})
   105     SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${COIN_CBC_LIBRARIES})
   105   ENDIF()
   106   ENDIF()
   106 
   107 
   107   TARGET_LINK_LIBRARIES(mip_test ${MIP_TEST_LIBS})
   108   TARGET_LINK_LIBRARIES(mip_test ${MIP_TEST_LIBS})
   108   ADD_TEST(mip_test mip_test)
   109   ADD_TEST(mip_test mip_test)
       
   110   ADD_DEPENDENCIES(check mip_test)
   109 
   111 
   110   IF(WIN32 AND LEMON_HAVE_GLPK)
   112   IF(WIN32 AND LEMON_HAVE_GLPK)
   111     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   113     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   112     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   114     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   113     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   115     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD