Skip to content

Commit 285c7f8

Browse files
authored
Merge pull request DOCGroup#222 from jwillemsen/jwi-nddsscriptlocation
Simplify RTI Connext DDS base project and add define for RTI Connext DDS on QNX
2 parents 3a4dc5d + a139dcb commit 285c7f8

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

config/ndds_ts_defaults.mpb

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// -*- MPC -*-
22
project {
33
Define_Custom(NDDSTypeSupport) {
4-
command = <%quote%>$(NDDSSCRIPTDIR)/rtiddsgen<%quote%>
4+
command = <%quote%>$(NDDSHOME)/bin/rtiddsgen<%quote%>
55
commandflags = $(PLATFORM_NDDS_FLAGS)
66

7-
dependent = $(NDDSSCRIPTDIR)/rtiddsgen<%bat%>
7+
dependent = $(NDDSHOME)/bin/rtiddsgen<%bat%>
88

99
source_pre_extension = , Support, Plugin
1010
source_outputext = .cxx
@@ -18,16 +18,5 @@ project {
1818
verbatim(gnuace, macros, 1) {
1919
override no_hidden_visibility = 1
2020
override no_strict_aliasing = 1
21-
ifdef NDDSHOME
22-
ifndef NDDSSCRIPTDIR
23-
# At the moment NDDSHOME has been set but not NDDSSCRIPTDIR we see if
24-
# the scripts directory exists, if so we use that, if not we use bin
25-
ifneq ($(wildcard $(NDDSHOME)/scripts),)
26-
NDDSSCRIPTDIR = $(NDDSHOME)/scripts
27-
else
28-
NDDSSCRIPTDIR = $(NDDSHOME)/bin
29-
endif
30-
endif
31-
endif
3221
}
3322
}

config/nddslib.mpb

+3
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ project {
2727
else
2828
FLAGS_C_CC += -DRTI_UNIX
2929
endif
30+
ifeq ($(ACE_PLATFORM_CONFIG),config-qnx.h)
31+
FLAGS_C_CC += -DRTI_QNX
32+
endif
3033
}
3134
}

0 commit comments

Comments
 (0)