summaryrefslogtreecommitdiff
path: root/config/ndds_ts_defaults.mpb
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2015-07-07 10:40:50 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2015-07-07 10:40:50 +0200
commitb08d8bc298acd65e91c33cfc4bc366d48ab18d26 (patch)
tree045e3b556af56863c97c8214a657fe280505d1fb /config/ndds_ts_defaults.mpb
parente67c29f5031ca4720e9d44d32c63cb5401e6dfd7 (diff)
downloadMPC-b08d8bc298acd65e91c33cfc4bc366d48ab18d26.tar.gz
Added logic to determine the correct location of the RTI Connext DDS scripts
* config/ndds_ts_defaults.mpb:
Diffstat (limited to 'config/ndds_ts_defaults.mpb')
-rw-r--r--config/ndds_ts_defaults.mpb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/ndds_ts_defaults.mpb b/config/ndds_ts_defaults.mpb
index 7128a214..1481d0e3 100644
--- a/config/ndds_ts_defaults.mpb
+++ b/config/ndds_ts_defaults.mpb
@@ -18,5 +18,16 @@ project {
verbatim(gnuace, macros) {
override no_hidden_visibility = 1
override no_strict_aliasing = 1
+ ifdef NDDSHOME
+ ifndef NDDSSCRIPTDIR
+ # At the moment NDDSHOME has been set but not NDDSSCRIPTDIR we see if
+ # the scripts directory exists, if so we use that, if not we use bin
+ ifneq ($(wildcard $(NDDSHOME)/scripts),)
+ NDDSSCRIPTDIR = $(NDDSHOME)/scripts
+ else
+ NDDSSCRIPTDIR = $(NDDSHOME)/bin
+ endif
+ endif
+ endif
}
}