blob: ae7c3721984dc3fa87f6983c47d51b09fcf209e3 (
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
|
// -*- MPC -*-
project: mysql {
Define_Custom(odb) {
automatic_in = 0
output_follows_input = 0
command = $(ODB_ROOT)/bin/odb
commandflags = -d mysql --generate-query --generate-schema \
--odb-file-suffix .odb --sql-file-suffix .odb
pch_postrule = 1
inputext = .h, .hpp, .hxx, .hh
pre_extension = .odb
source_outputext = .cxx
inline_outputext = .ixx
header_outputext = .hxx
documentation_outputext = .sql
}
macros += DATABASE_MYSQL LIBODB_MYSQL_INCLUDE_SHORT
includes += $(ODB_ROOT)
libpaths += $(ODB_ROOT)/lib64 $(ODB_ROOT)/lib
specific(prop:windows) {
macros += WIN32_LEAN_AND_MEAN
Debug::lit_libs += odb-d odb-mysql-d
Release::lit_libs += odb odb-mysql
} else {
lit_libs += odb odb-mysql
}
specific(prop:microsoft) {
// Ignore unrecognized pragma's and non-exported base class
DisableSpecificWarnings += 4068 4275
}
}
|