Add languagestandard variable
[MPC.git] / config / nddslib.mpb
blob475b13a70837f6be8f02b259c9ef89a7cc5c03e8
1 // -*- MPC -*-
2 project {
3   requires += ndds
4   libs     += nddscpp nddsc nddscore
5   libpaths += $(NDDSHOME)/lib/$(NDDSARCHITECTURE)
6   includes += $(NDDSHOME)/include $(NDDSHOME)/include/ndds
8   specific(prop:windows) {
9     macros += RTI_WIN32 NDDS_DLL_VARIABLE WIN32_LEAN_AND_MEAN
10   }
12   verbatim(gnuace, circuit) {
13     ifeq ($(buildbits),64)
14     FLAGS_C_CC += -DRTI_64BIT
15     endif
16     ifeq ($(ACE_PLATFORM_CONFIG),config-linux.h)
17     FLAGS_C_CC += -DRTI_LINUX
18     ifeq ($(CXX),clang++)
19     FLAGS_C_CC += -Wno-return-type-c-linkage -Wno-deprecated-register
20     endif
21     endif
22     ifeq ($(ACE_PLATFORM_CONFIG),config-android.h)
23     FLAGS_C_CC += -DRTI_LINUX
24     endif
25     ifeq ($(ACE_PLATFORM_CONFIG),config-win32.h)
26     FLAGS_C_CC += -DRTI_WIN32 -DWIN32_LEAN_AND_MEAN
27     else
28     FLAGS_C_CC += -DRTI_UNIX
29     endif
30   }