File: odb_mysql.mpb

package info (click to toggle)
ace 8.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,064 kB
  • sloc: cpp: 342,819; perl: 31,902; sh: 1,963; python: 532; yacc: 524; xml: 330; lex: 158; lisp: 116; makefile: 85; csh: 20; ansic: 19; tcl: 5
file content (34 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (2)
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
  }
}