summaryrefslogtreecommitdiff
path: root/tests/CIF/Receptacle/Receptacle.mpc
blob: 59202efef8a4949b0ea319894e6be1e342c61aff (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
// $Id$

project(Receptacle_idl_gen) : componentidldefaults {

  custom_only = 1
  idlflags += -Wb,stub_export_macro=RECEPTACLE_STUB_Export \
              -Wb,stub_export_include=Receptacle_stub_export.h \
              -Wb,skel_export_macro=RECEPTACLE_SVNT_Export \
              -Wb,skel_export_include=Receptacle_svnt_export.h \
              -Wb,exec_export_macro=RECEPTACLE_EXEC_Export \
              -Wb,exec_export_include=Receptacle_exec_export.h

  IDL_Files {
    Receptacle.idl
  }
}

project(Receptacle_lem_gen) : ciaoidldefaults {

  after += Receptacle_idl_gen
  custom_only = 1
  idlflags += -Wb,stub_export_macro=RECEPTACLE_LEM_STUB_Export \
              -Wb,stub_export_include=Receptacle_lem_stub_export.h \
              -SS -Gxhst

  IDL_Files {
    ReceptacleE.idl
  }
}

project(Receptacle_lem_stub) : ccm_svnt   {

  after += Receptacle_lem_gen Receptacle_stub
  libs  += Receptacle_stub
  libpaths += ../lib
  libout = ../lib

  sharedname = Receptacle_lem_stub
  dynamicflags = RECEPTACLE_LEM_STUB_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    ReceptacleEC.cpp
  }

  Header_Files {
    ReceptacleEC.h
    Receptacle_lem_stub_export.h
  }

  Inline_Files {
    ReceptacleEC.inl
  }
}

project(Receptacle_stub) : ccm_stub   {

  after += Receptacle_idl_gen
  libs  +=
  libpaths += ../lib
  libout = ../lib


  sharedname = Receptacle_stub
  dynamicflags = RECEPTACLE_STUB_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    ReceptacleC.cpp
  }

  Header_Files {
    ReceptacleC.h
    Receptacle_stub_export.h
  }

  Inline_Files {
    ReceptacleC.inl
  }
}

project(Receptacle_exec) : ciao_executor   {

  after   += Receptacle_lem_stub Receptacle_stub
  sharedname = Receptacle_exec
  libs += Receptacle_stub Receptacle_lem_stub
  libpaths += ../lib
  libout = ../lib


  dynamicflags = RECEPTACLE_EXEC_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    Receptacle_exec.cpp
  }

  Header_Files {
    Receptacle_exec.h
    Receptacle_exec_export.h
  }

  Inline_Files {
  }
}


project(Receptacle_svnt) : ciao_servant   {

  after      += Receptacle_lem_stub
  sharedname  = Receptacle_svnt
  libs       += Receptacle_stub Receptacle_lem_stub
  libpaths += ../lib
  libout = ../lib


  dynamicflags = RECEPTACLE_SVNT_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    ReceptacleS.cpp
    Receptacle_svnt.cpp
  }

  Header_Files {
    ReceptacleS.h
    Receptacle_svnt.h
    Receptacle_svnt_export.h
  }

  Inline_Files {
    ReceptacleS.inl
  }
}

project (Receptacle_client_test) : ccm_configvalue, ciao_logger {
  after += Receptacle_stub Receptacle_svnt CIF_Common
  libpaths += ../lib
  libs += Receptacle_stub CIF_Common
  includes += ..

  IDL_Files {
  }

  Source_Files {
    client.cpp
  }
}