summaryrefslogtreecommitdiff
path: root/config/udm.mpb
blob: 5e980a10c8dc2c54da977b2fc9ef3feb6823df88 (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
// -*- MPC -*-
project : xerces {
  includes += . \
              $(GME_ROOT)/SDK/BON/Common \
              $(UDM_PATH)/include \
              $(GME_ROOT)/SDK/BON \
              $(GME_ROOT)/Interfaces

  libpaths += $(UDM_PATH)/lib

  specific {
    midl_flags += /server none /client none
    midl_includes += $(GME_ROOT) $(GME_ROOT)/Interfaces .

    Release::lit_libs += UdmDll
    Debug::lit_libs += UdmDllD
  }

  specific(prop:microsoft) {
    DisableSpecificWarnings += 4251
  }

  specific(vc10) {
    // Link against vc10 specific libraries instead of the generic ones
    Release::lit_libs -= UdmDll
    Debug::lit_libs -= UdmDllD

    Release::lit_libs += UdmDll_VS10
    Debug::lit_libs += UdmDll_VS10D
  }

  specific(vc11) {
    // Link against vc11 specific libraries instead of the generic ones
    Release::lit_libs -= UdmDll
    Debug::lit_libs -= UdmDllD

    Release::lit_libs += UdmDll_v110_Win32
    Debug::lit_libs += UdmDll_v110_Win32D
  }

  Define_Custom(UDM) {
    dependent         = $(UDM_PATH)/bin/Udm
    command           = <%quote%>$(UDM_PATH)<%quote%>/bin/Udm
    inputext          = .xml
    header_outputext  = .h
    source_outputext  = .cpp
    generic_outputext = .xsd

    keyword udmflags  = commandflags
  }
}

feature (zlib) {
  libpaths += $(UDM_3RDPARTY_PATH)/zlib
}