summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/SmartProxies/SmartProxies.mpc
blob: 87c105c803a05d7bb901520fb5df85144d480e50 (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
// The server doesn't use Smart Proxies, but since the client
// shares the idl generated source files, it needs to have the
// -Gsp option added to the tao_idl flags.
project(*Server): messaging, taoexe, portableserver, smart_proxies {
  IDL_Files {
    Messenger.idl
  }

  Source_Files {
    MessengerC.cpp
    MessengerS.cpp
    Messenger_i.cpp
    MessengerServer.cpp
  }
}

project(*Client): taoexe, messaging, smart_proxies {
  after += *Server *Logger

  IDL_Files {
  }

  Source_Files {
    LoggerC.cpp
    MessengerC.cpp
    MessengerClient.cpp
    Smart_Messenger_Proxy.cpp
  }
}

project(*Logger): taoexe, portableserver {
  IDL_Files {
    Logger.idl
  }

  Source_Files {
    LoggerC.cpp
    LoggerS.cpp
    Logger_i.cpp
    LoggerServer.cpp
  }
}