test/CMakeLists.txt
branch1.2
changeset 1127 be7dd3a8d6a3
parent 1110 02c93d1f00d7
parent 1119 1818cc848005
child 1151 0da74b2d0bea
equal deleted inserted replaced
66:03c46e9cd97f 69:26bc05da1c0b
    84 
    84 
    85   IF(WIN32 AND LEMON_HAVE_CPLEX)
    85   IF(WIN32 AND LEMON_HAVE_CPLEX)
    86     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    86     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    87     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    87     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    88     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    88     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    89       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
    89       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
    90     )
    90     )
    91   ENDIF()
    91   ENDIF()
    92 ENDIF()
    92 ENDIF()
    93 
    93 
    94 IF(LEMON_HAVE_MIP)
    94 IF(LEMON_HAVE_MIP)
   126 
   126 
   127   IF(WIN32 AND LEMON_HAVE_CPLEX)
   127   IF(WIN32 AND LEMON_HAVE_CPLEX)
   128     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   128     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   129     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   129     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   130     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   130     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   131       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
   131       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
   132     )
   132     )
   133   ENDIF()
   133   ENDIF()
   134 ENDIF()
   134 ENDIF()
   135 
   135 
   136 FOREACH(TEST_NAME ${TESTS})
   136 FOREACH(TEST_NAME ${TESTS})