summaryrefslogtreecommitdiff
path: root/libodb/manifest
blob: 840948b7013165306c08afbc0e095ddca8a49d3f (plain)
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
: 1
name: libodb
version: 2.5.0-b.26.z
project: odb
summary: Common ODB runtime library
license: GPL-2.0-only
license: other: proprietary ; Not free/open source.
topics: C++, ORM, SQL, object persistence, relational database
description-file: README
changes-file: NEWS
url: https://www.codesynthesis.com/products/odb/
doc-url: https://www.codesynthesis.com/products/odb/doc/manual.xhtml
src-url: https://git.codesynthesis.com/cgit/odb/odb/
email: odb-users@codesynthesis.com
build-warning-email: odb-builds@codesynthesis.com
requires: c++11

# @@ TMP Bump the toolchain version to 0.17.0 after it is released.
#
depends: * build2 >= 0.16.0-
depends: * bpkg >= 0.16.0-

tests: odb-tests == $ ? ($config.odb_tests.libodb_test)

builds: all

default-build-config:
\
{
  config.odb_tests.libodb_test=true
  config.odb_tests.database=sqlite
}+ odb-tests
\

# Only build this package configuration where it can be tested via odb-tests
# package and where libodb-* libraries can be built (see their manifests for
# details).
#
multi-builds: all
multi-builds: -wasm              ; Not supported by libodb-{mysql,pgsql}.
multi-builds: -( +windows &gcc ) ; Not supported by libodb-mysql.
multi-builds: -( +windows -gcc )
multi-builds: &gcc
multi-builds: &gcc-5+
multi-builds: -static
multi-build-auxiliary-mysql: *-mysql_*
multi-build-auxiliary-pgsql: *-postgresql_*
multi-build-config:
\
{
  config.odb_tests.libodb_test=true
  config.odb_tests.database='mysql sqlite pgsql'

  config.odb_tests.mysql.user=$getenv(MYSQL_DATABASE_USER)
  config.odb_tests.mysql.database=$getenv(MYSQL_DATABASE_NAME)
  config.odb_tests.mysql.host=$getenv(MYSQL_DATABASE_HOST)
  config.odb_tests.mysql.port=$getenv(MYSQL_DATABASE_PORT)

  config.odb_tests.pgsql.user=$getenv(PGSQL_DATABASE_USER)
  config.odb_tests.pgsql.database=$getenv(PGSQL_DATABASE_NAME)
  config.odb_tests.pgsql.host=$getenv(PGSQL_DATABASE_HOST)
  config.odb_tests.pgsql.port=$getenv(PGSQL_DATABASE_PORT)
}+ odb-tests
\