test/CMakeLists.txt
changeset 1054 c40a9d94442d
parent 966 c8fce9beb46a
parent 972 1818cc848005
child 994 20ae244b4779
equal deleted inserted replaced
62:2d5cfa8b6197 64:c7a8614cb5c0
    87 
    87 
    88   IF(WIN32 AND LEMON_HAVE_CPLEX)
    88   IF(WIN32 AND LEMON_HAVE_CPLEX)
    89     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    89     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    90     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    90     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    91     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    91     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    92       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
    92       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
    93     )
    93     )
    94   ENDIF()
    94   ENDIF()
    95 ENDIF()
    95 ENDIF()
    96 
    96 
    97 IF(LEMON_HAVE_MIP)
    97 IF(LEMON_HAVE_MIP)
   129 
   129 
   130   IF(WIN32 AND LEMON_HAVE_CPLEX)
   130   IF(WIN32 AND LEMON_HAVE_CPLEX)
   131     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   131     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   132     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   132     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   133     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   133     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   134       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
   134       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
   135     )
   135     )
   136   ENDIF()
   136   ENDIF()
   137 ENDIF()
   137 ENDIF()
   138 
   138 
   139 FOREACH(TEST_NAME ${TESTS})
   139 FOREACH(TEST_NAME ${TESTS})