-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrima-0.03-1.rockspec
68 lines (68 loc) · 1.68 KB
/
rima-0.03-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package = "rima"
version = "0.03-1"
source = {
url = "http://rima.googlecode.com/files/rima-0.03.tar.gz"
}
external_dependencies =
{
LIBCOIN =
{
header = "coin/utils/CoinBuild.hpp"
},
LIBLPSOLVE =
{
header = "lpsolve/lp_lib.h"
}
}
description =
{
summary = "Linear programming for Lua",
detailed =
[[
Rima is a symbolic math modelling tool.
]],
homepage = "http://www.incremental.co.nz/projects/lua.html",
license = "MIT/X11",
maintainer = "Geoff Leyland",
}
dependencies =
{
"lua >= 5.1"
}
build =
{
type = "builtin",
modules =
{
rima_clp_core =
{
sources = { "c/rima_clp_core.cpp" },
libraries = { "clp", "coinutils" },
incdirs = { "$(LIBCOIN_INCDIR)/coin/clp", "$(LIBCOIN_INCDIR)/coin/utils", "$(LIBCOIN_INCDIR)/coin/headers", },
libdirs = { "$(LIBCOIN_LIBDIR)"},
},
rima_cbc_core =
{
sources = { "c/rima_cbc_core.cpp" },
libraries = { "cbc", "osiclp" },
incdirs = { "$(LIBCOIN_INCDIR)/coin/cbc", "$(LIBCOIN_INCDIR)/coin/osi", "$(LIBCOIN_INCDIR)/coin/clp", "$(LIBCOIN_INCDIR)/coin/utils", "$(LIBCOIN_INCDIR)/coin/headers", },
libdirs = { "$(LIBCOIN_LIBDIR)"},
},
rima_lpsolve_core =
{
sources = { "c/rima_lpsolve_core.cpp" },
libraries = { "lpsolve55", "stdc++" },
incdirs = { "$(LIBLPSOLVE_INCDIR)/lpsolve", },
libdirs = { "$(LIBLPSOLVE_LIBDIR)"},
},
},
platforms =
{
win32 =
{
rima_clp_core = { defines = {"NOMINMAX" } },
rima_cbc_core = { defines = {"NOMINMAX" } },
rima_lpsolve_core = { defines = {"NOMINMAX" } },
}
}
}