test/CMakeLists.txt
branch1.1
changeset 1126 a30455cd0107
parent 1069 b1b534ddb539
child 1122 0976225b5cae
child 1124 b1744d7bdb47
child 1149 157427808b40
equal deleted inserted replaced
62:e51532552f7e 68:1411b2c61214
    80 
    80 
    81   IF(WIN32 AND LEMON_HAVE_CPLEX)
    81   IF(WIN32 AND LEMON_HAVE_CPLEX)
    82     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    82     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    83     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    83     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    84     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    84     ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    85       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
    85       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
    86     )
    86     )
    87   ENDIF()
    87   ENDIF()
    88 ENDIF()
    88 ENDIF()
    89 
    89 
    90 IF(LEMON_HAVE_MIP)
    90 IF(LEMON_HAVE_MIP)
   122 
   122 
   123   IF(WIN32 AND LEMON_HAVE_CPLEX)
   123   IF(WIN32 AND LEMON_HAVE_CPLEX)
   124     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   124     GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION)
   125     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   125     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
   126     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   126     ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD
   127       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH}
   127       COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH}
   128     )
   128     )
   129   ENDIF()
   129   ENDIF()
   130 ENDIF()
   130 ENDIF()
   131 
   131 
   132 FOREACH(TEST_NAME ${TESTS})
   132 FOREACH(TEST_NAME ${TESTS})