summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosEvent.mpc
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEvent.mpc')
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent.mpc10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent.mpc b/TAO/orbsvcs/orbsvcs/CosEvent.mpc
index e541b8671b0..a9299738907 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent.mpc
+++ b/TAO/orbsvcs/orbsvcs/CosEvent.mpc
@@ -2,9 +2,17 @@
project (CosEvent) : ec_typed_events, orbsvcslib, messaging, core, naming {
sharedname = TAO_CosEvent
+ // Warning : The idlflags must match exactly those used in CosNotification, because
+ // we don't know which project will actually generate the IDL.
+ // For this reason we also just use the event_export.h and macros for
+ // both services.
idlflags += -Wb,export_macro=TAO_Event_Export -Wb,export_include=CosEvent/event_export.h
+
+ // Set both DLL flags because of the shared idl files
dynamicflags = TAO_EVENT_BUILD_DLL TAO_NOTIFY_BUILD_DLL
- tagchecks = CosEvent
+
+ tagchecks += CosEvent
+ // Add this include path for precompiled headers
includes += $(TAO_ROOT)/orbsvcs/orbsvcs
IDL_Files {