Add languagestandard variable
[MPC.git] / config / objectivity.mpb
blob99dae80d675a1423e6705740b13f4cc93f67bc90
1 // -*- MPC -*-
2 project {
3   // For some reason, Objectivity names things differently on Windows
4   specific(prop:windows) {
5     lit_libs += oodbi ooco
6     ooddl = ooddlx
7   } else {
8     lit_libs += oo ooco
9     ooddl = ooddl_int
10   }
12   Define_Custom(ddl) {
13     command              = $(OBJECTIVITY_ROOT)/bin/$(OODDL)
14     commandflags         = -I$(OBJECTIVITY_ROOT)/include
15     pch_postrule         = 1
16     inputext             = .ddl
17     source_pre_extension = _ddl
18     header_pre_extension = , _ref
19     source_outputext     = .cpp
20     header_outputext     = .h
21   }
23   includes += $(OBJECTIVITY_ROOT)/include
24   libpaths += $(OBJECTIVITY_ROOT)/lib
26   specific(prop:microsoft) {
27     // Including <objy/query/Query.h> causes this warning
28     DisableSpecificWarnings += 4251
29   }