alpar@2: SET(GLPK_LIB_SOURCES alpar@2: glpapi01.c alpar@2: glpapi02.c alpar@2: glpapi03.c alpar@2: glpapi04.c alpar@2: glpapi05.c alpar@2: glpapi06.c alpar@2: glpapi07.c alpar@2: glpapi08.c alpar@2: glpapi09.c alpar@2: glpapi10.c alpar@2: glpapi11.c alpar@2: glpapi12.c alpar@2: glpapi13.c alpar@2: glpapi14.c alpar@2: glpapi15.c alpar@2: glpapi16.c alpar@2: glpapi17.c alpar@2: glpapi18.c alpar@2: glpapi19.c alpar@2: glpapi.h alpar@2: glpavl.c alpar@2: glpavl.h alpar@2: glpbfd.c alpar@2: glpbfd.h alpar@2: glpbfx.c alpar@2: glpbfx.h alpar@2: glpcpx.c alpar@2: glpdmp.c alpar@2: glpdmp.h alpar@2: glpdmx.c alpar@2: glpenv01.c alpar@2: glpenv02.c alpar@2: glpenv03.c alpar@2: glpenv04.c alpar@2: glpenv05.c alpar@2: glpenv06.c alpar@2: glpenv07.c alpar@2: glpenv08.c alpar@2: glpenv.h alpar@2: glpfhv.c alpar@2: glpfhv.h alpar@2: glpgmp.c alpar@2: glpgmp.h alpar@2: glphbm.c alpar@2: glphbm.h alpar@2: glpini01.c alpar@2: glpini02.c alpar@2: glpios01.c alpar@2: glpios02.c alpar@2: glpios03.c alpar@2: glpios04.c alpar@2: glpios05.c alpar@2: glpios06.c alpar@2: glpios07.c alpar@2: glpios08.c alpar@2: glpios09.c alpar@2: glpios10.c alpar@2: glpios11.c alpar@2: glpios12.c alpar@2: glpios.h alpar@2: glpipm.c alpar@2: glpipm.h alpar@2: glplib01.c alpar@2: glplib02.c alpar@2: glplib03.c alpar@2: glplib.h alpar@2: glplpf.c alpar@2: glplpf.h alpar@2: glplpx01.c alpar@2: glplpx02.c alpar@2: glplpx03.c alpar@2: glpluf.c alpar@2: glpluf.h alpar@2: glplux.c alpar@2: glplux.h alpar@2: glpmat.c alpar@2: glpmat.h alpar@2: glpmpl01.c alpar@2: glpmpl02.c alpar@2: glpmpl03.c alpar@2: glpmpl04.c alpar@2: glpmpl05.c alpar@2: glpmpl06.c alpar@2: glpmpl.h alpar@2: glpmps.c alpar@2: glpnet01.c alpar@2: glpnet02.c alpar@2: glpnet03.c alpar@2: glpnet04.c alpar@2: glpnet05.c alpar@2: glpnet06.c alpar@2: glpnet07.c alpar@2: glpnet08.c alpar@2: glpnet09.c alpar@2: glpnet.h alpar@2: glpnpp01.c alpar@2: glpnpp02.c alpar@2: glpnpp03.c alpar@2: glpnpp04.c alpar@2: glpnpp05.c alpar@2: glpnpp.h alpar@2: glpqmd.c alpar@2: glpqmd.h alpar@2: glprgr.c alpar@2: glprgr.h alpar@2: glprng01.c alpar@2: glprng02.c alpar@2: glprng.h alpar@2: glpscf.c alpar@2: glpscf.h alpar@2: glpscl.c alpar@2: glpsdf.c alpar@2: glpspm.c alpar@2: glpspm.h alpar@2: glpspx01.c alpar@2: glpspx02.c alpar@2: glpspx.h alpar@2: glpsql.c alpar@2: glpsql.h alpar@2: glpssx01.c alpar@2: glpssx02.c alpar@2: glpssx.h alpar@2: glpstd.h alpar@2: glptsp.c alpar@2: glptsp.h alpar@2: amd/amd_1.c alpar@2: amd/amd_2.c alpar@2: amd/amd_aat.c alpar@2: amd/amd_control.c alpar@2: amd/amd_defaults.c alpar@2: amd/amd_dump.c alpar@2: amd/amd.h alpar@2: amd/amd_info.c alpar@2: amd/amd_internal.h alpar@2: amd/amd_order.c alpar@2: amd/amd_postorder.c alpar@2: amd/amd_post_tree.c alpar@2: amd/amd_preprocess.c alpar@2: amd/amd_valid.c alpar@2: colamd/colamd.c alpar@2: colamd/colamd.h alpar@2: ) alpar@2: alpar@2: IF(MSVC) alpar@2: IF(CMAKE_CL_64) alpar@2: SET(GLPK_LIB_SOURCES ${GLPK_LIB_SOURCES} alpar@2: ${PROJECT_SOURCE_DIR}/w64/glpk_4_45.def) alpar@2: ELSE() alpar@2: SET(GLPK_LIB_SOURCES ${GLPK_LIB_SOURCES} alpar@2: ${PROJECT_SOURCE_DIR}/w32/glpk_4_45.def) alpar@2: ENDIF() alpar@2: ENDIF() alpar@2: alpar@2: ADD_LIBRARY(glpk-shared SHARED ${GLPK_LIB_SOURCES}) alpar@2: SET_TARGET_PROPERTIES(glpk-shared PROPERTIES OUTPUT_NAME glpk) alpar@2: ADD_LIBRARY(glpk-static STATIC ${GLPK_LIB_SOURCES}) alpar@2: SET_TARGET_PROPERTIES(glpk-static PROPERTIES OUTPUT_NAME glpk) alpar@2: SET_TARGET_PROPERTIES(glpk-static PROPERTIES PREFIX "lib") alpar@2: alpar@2: SET_TARGET_PROPERTIES(glpk-shared PROPERTIES CLEAN_DIRECT_OUTPUT 1) alpar@2: SET_TARGET_PROPERTIES(glpk-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) alpar@2: alpar@2: alpar@2: INSTALL( alpar@2: TARGETS glpk-shared glpk-static alpar@2: RUNTIME DESTINATION bin COMPONENT library alpar@2: ARCHIVE DESTINATION lib COMPONENT library alpar@2: LIBRARY DESTINATION lib COMPONENT library alpar@2: )