summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Collocation/Collocation.mpc
blob: b2c60b8b1b8f71253710522ef00548911924a290 (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
// -*- MPC -*-
// $Id$

project(*idl): taoidldefaults {
  idlflags    += -Wb,skel_export_macro=Diamond_Export \
                 -Wb,stub_export_macro=MY_Stub_Export \
                 -Wb,skel_export_include=diamond_export.h \
                 -Wb,stub_export_include=stub_export.h \
                 -Gd -St -Sa
  IDL_Files {
    Diamond.idl
  }
  custom_only = 1
}

project(*Test_Stub): taolib_with_idl {
  after += *idl

  sharedname   = Collocation_Test_Stub
  dynamicflags = MY_STUB_BUILD_DLL

  Source_Files {
    DiamondC.cpp
  }
  IDL_Files {
  }
}

project(*Diamond) : taolib_with_idl, portableserver {
  after       += *idl *Test_Stub
  after       += Collocation_Test_Stub

  sharedname   = Collocation_Diamond
  dynamicflags = DIAMOND_BUILD_DLL

  libs        += Collocation_Test_Stub

  Source_Files {
    Diamond_i.cpp
    DiamondS.cpp
  }
  IDL_Files {
  }
}

project(*Server) : taoserver, strategies {
  after   += *Test_Stub *Diamond
  libs    += Collocation_Test_Stub Collocation_Diamond
  exename  = Collocation
  IDL_Files {
  }

  Source_Files {
    Collocation_Tester.cpp
    Collocation.cpp
  }
}