author | Alpar Juttner <alpar@cs.elte.hu> |
Sun, 05 Dec 2010 17:35:23 +0100 | |
changeset 2 | 4c8956a7bdf4 |
permissions | -rw-r--r-- |
alpar@2 | 1 |
SET(GLPK_LIB_SOURCES |
alpar@2 | 2 |
glpapi01.c |
alpar@2 | 3 |
glpapi02.c |
alpar@2 | 4 |
glpapi03.c |
alpar@2 | 5 |
glpapi04.c |
alpar@2 | 6 |
glpapi05.c |
alpar@2 | 7 |
glpapi06.c |
alpar@2 | 8 |
glpapi07.c |
alpar@2 | 9 |
glpapi08.c |
alpar@2 | 10 |
glpapi09.c |
alpar@2 | 11 |
glpapi10.c |
alpar@2 | 12 |
glpapi11.c |
alpar@2 | 13 |
glpapi12.c |
alpar@2 | 14 |
glpapi13.c |
alpar@2 | 15 |
glpapi14.c |
alpar@2 | 16 |
glpapi15.c |
alpar@2 | 17 |
glpapi16.c |
alpar@2 | 18 |
glpapi17.c |
alpar@2 | 19 |
glpapi18.c |
alpar@2 | 20 |
glpapi19.c |
alpar@2 | 21 |
glpapi.h |
alpar@2 | 22 |
glpavl.c |
alpar@2 | 23 |
glpavl.h |
alpar@2 | 24 |
glpbfd.c |
alpar@2 | 25 |
glpbfd.h |
alpar@2 | 26 |
glpbfx.c |
alpar@2 | 27 |
glpbfx.h |
alpar@2 | 28 |
glpcpx.c |
alpar@2 | 29 |
glpdmp.c |
alpar@2 | 30 |
glpdmp.h |
alpar@2 | 31 |
glpdmx.c |
alpar@2 | 32 |
glpenv01.c |
alpar@2 | 33 |
glpenv02.c |
alpar@2 | 34 |
glpenv03.c |
alpar@2 | 35 |
glpenv04.c |
alpar@2 | 36 |
glpenv05.c |
alpar@2 | 37 |
glpenv06.c |
alpar@2 | 38 |
glpenv07.c |
alpar@2 | 39 |
glpenv08.c |
alpar@2 | 40 |
glpenv.h |
alpar@2 | 41 |
glpfhv.c |
alpar@2 | 42 |
glpfhv.h |
alpar@2 | 43 |
glpgmp.c |
alpar@2 | 44 |
glpgmp.h |
alpar@2 | 45 |
glphbm.c |
alpar@2 | 46 |
glphbm.h |
alpar@2 | 47 |
glpini01.c |
alpar@2 | 48 |
glpini02.c |
alpar@2 | 49 |
glpios01.c |
alpar@2 | 50 |
glpios02.c |
alpar@2 | 51 |
glpios03.c |
alpar@2 | 52 |
glpios04.c |
alpar@2 | 53 |
glpios05.c |
alpar@2 | 54 |
glpios06.c |
alpar@2 | 55 |
glpios07.c |
alpar@2 | 56 |
glpios08.c |
alpar@2 | 57 |
glpios09.c |
alpar@2 | 58 |
glpios10.c |
alpar@2 | 59 |
glpios11.c |
alpar@2 | 60 |
glpios12.c |
alpar@2 | 61 |
glpios.h |
alpar@2 | 62 |
glpipm.c |
alpar@2 | 63 |
glpipm.h |
alpar@2 | 64 |
glplib01.c |
alpar@2 | 65 |
glplib02.c |
alpar@2 | 66 |
glplib03.c |
alpar@2 | 67 |
glplib.h |
alpar@2 | 68 |
glplpf.c |
alpar@2 | 69 |
glplpf.h |
alpar@2 | 70 |
glplpx01.c |
alpar@2 | 71 |
glplpx02.c |
alpar@2 | 72 |
glplpx03.c |
alpar@2 | 73 |
glpluf.c |
alpar@2 | 74 |
glpluf.h |
alpar@2 | 75 |
glplux.c |
alpar@2 | 76 |
glplux.h |
alpar@2 | 77 |
glpmat.c |
alpar@2 | 78 |
glpmat.h |
alpar@2 | 79 |
glpmpl01.c |
alpar@2 | 80 |
glpmpl02.c |
alpar@2 | 81 |
glpmpl03.c |
alpar@2 | 82 |
glpmpl04.c |
alpar@2 | 83 |
glpmpl05.c |
alpar@2 | 84 |
glpmpl06.c |
alpar@2 | 85 |
glpmpl.h |
alpar@2 | 86 |
glpmps.c |
alpar@2 | 87 |
glpnet01.c |
alpar@2 | 88 |
glpnet02.c |
alpar@2 | 89 |
glpnet03.c |
alpar@2 | 90 |
glpnet04.c |
alpar@2 | 91 |
glpnet05.c |
alpar@2 | 92 |
glpnet06.c |
alpar@2 | 93 |
glpnet07.c |
alpar@2 | 94 |
glpnet08.c |
alpar@2 | 95 |
glpnet09.c |
alpar@2 | 96 |
glpnet.h |
alpar@2 | 97 |
glpnpp01.c |
alpar@2 | 98 |
glpnpp02.c |
alpar@2 | 99 |
glpnpp03.c |
alpar@2 | 100 |
glpnpp04.c |
alpar@2 | 101 |
glpnpp05.c |
alpar@2 | 102 |
glpnpp.h |
alpar@2 | 103 |
glpqmd.c |
alpar@2 | 104 |
glpqmd.h |
alpar@2 | 105 |
glprgr.c |
alpar@2 | 106 |
glprgr.h |
alpar@2 | 107 |
glprng01.c |
alpar@2 | 108 |
glprng02.c |
alpar@2 | 109 |
glprng.h |
alpar@2 | 110 |
glpscf.c |
alpar@2 | 111 |
glpscf.h |
alpar@2 | 112 |
glpscl.c |
alpar@2 | 113 |
glpsdf.c |
alpar@2 | 114 |
glpspm.c |
alpar@2 | 115 |
glpspm.h |
alpar@2 | 116 |
glpspx01.c |
alpar@2 | 117 |
glpspx02.c |
alpar@2 | 118 |
glpspx.h |
alpar@2 | 119 |
glpsql.c |
alpar@2 | 120 |
glpsql.h |
alpar@2 | 121 |
glpssx01.c |
alpar@2 | 122 |
glpssx02.c |
alpar@2 | 123 |
glpssx.h |
alpar@2 | 124 |
glpstd.h |
alpar@2 | 125 |
glptsp.c |
alpar@2 | 126 |
glptsp.h |
alpar@2 | 127 |
amd/amd_1.c |
alpar@2 | 128 |
amd/amd_2.c |
alpar@2 | 129 |
amd/amd_aat.c |
alpar@2 | 130 |
amd/amd_control.c |
alpar@2 | 131 |
amd/amd_defaults.c |
alpar@2 | 132 |
amd/amd_dump.c |
alpar@2 | 133 |
amd/amd.h |
alpar@2 | 134 |
amd/amd_info.c |
alpar@2 | 135 |
amd/amd_internal.h |
alpar@2 | 136 |
amd/amd_order.c |
alpar@2 | 137 |
amd/amd_postorder.c |
alpar@2 | 138 |
amd/amd_post_tree.c |
alpar@2 | 139 |
amd/amd_preprocess.c |
alpar@2 | 140 |
amd/amd_valid.c |
alpar@2 | 141 |
colamd/colamd.c |
alpar@2 | 142 |
colamd/colamd.h |
alpar@2 | 143 |
) |
alpar@2 | 144 |
|
alpar@2 | 145 |
IF(MSVC) |
alpar@2 | 146 |
IF(CMAKE_CL_64) |
alpar@2 | 147 |
SET(GLPK_LIB_SOURCES ${GLPK_LIB_SOURCES} |
alpar@2 | 148 |
${PROJECT_SOURCE_DIR}/w64/glpk_4_45.def) |
alpar@2 | 149 |
ELSE() |
alpar@2 | 150 |
SET(GLPK_LIB_SOURCES ${GLPK_LIB_SOURCES} |
alpar@2 | 151 |
${PROJECT_SOURCE_DIR}/w32/glpk_4_45.def) |
alpar@2 | 152 |
ENDIF() |
alpar@2 | 153 |
ENDIF() |
alpar@2 | 154 |
|
alpar@2 | 155 |
ADD_LIBRARY(glpk-shared SHARED ${GLPK_LIB_SOURCES}) |
alpar@2 | 156 |
SET_TARGET_PROPERTIES(glpk-shared PROPERTIES OUTPUT_NAME glpk) |
alpar@2 | 157 |
ADD_LIBRARY(glpk-static STATIC ${GLPK_LIB_SOURCES}) |
alpar@2 | 158 |
SET_TARGET_PROPERTIES(glpk-static PROPERTIES OUTPUT_NAME glpk) |
alpar@2 | 159 |
SET_TARGET_PROPERTIES(glpk-static PROPERTIES PREFIX "lib") |
alpar@2 | 160 |
|
alpar@2 | 161 |
SET_TARGET_PROPERTIES(glpk-shared PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
alpar@2 | 162 |
SET_TARGET_PROPERTIES(glpk-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
alpar@2 | 163 |
|
alpar@2 | 164 |
|
alpar@2 | 165 |
INSTALL( |
alpar@2 | 166 |
TARGETS glpk-shared glpk-static |
alpar@2 | 167 |
RUNTIME DESTINATION bin COMPONENT library |
alpar@2 | 168 |
ARCHIVE DESTINATION lib COMPONENT library |
alpar@2 | 169 |
LIBRARY DESTINATION lib COMPONENT library |
alpar@2 | 170 |
) |