test/CMakeLists.txt
branch1.1
changeset 788 98b306776b25
parent 757 b1b534ddb539
child 789 157427808b40
equal deleted inserted replaced
40:e51532552f7e 41: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})