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

project(*idl): taoidldefaults, smart_proxies {
  idlflags     += -Wb,stub_export_macro=MY_Stub_Export -Wb,stub_export_include=stub_export.h -Wb,skel_export_macro=Diamond_Export -Wb,skel_export_include=diamond_export.h -Gd

  IDL_Files {
    Diamond.idl
  }
  custom_only = 1
}

project(*TestStubsLib): taolib_with_idl, smart_proxies {
  after        += *idl

  sharedname = Coll_Test_Stubs
  dynamicflags += MY_STUB_BUILD_DLL

  Source_Files {
    DiamondC.cpp
    Smart_Proxy_Impl.cpp
  }
  IDL_Files {
  }
}

project(*DiamondLib) : taolib_with_idl, smart_proxies, portableserver {
  after        += *idl
  after        += *TestStubsLib

  sharedname   = Diamond
  dynamicflags += DIAMOND_BUILD_DLL

  libs         += Coll_Test_Stubs

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

project(*Test): taoexe, smart_proxies, portableserver, strategies {
  after += *idl
  after += *TestStubsLib *DiamondLib
  libs  += Coll_Test_Stubs Diamond
  Source_Files {
    Coll_Tester.cpp
    main.cpp
  }
  IDL_Files {
  }
}