diff options
Diffstat (limited to 'dist/examples/cxx/parser/mixed/nmakefile')
-rw-r--r-- | dist/examples/cxx/parser/mixed/nmakefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dist/examples/cxx/parser/mixed/nmakefile b/dist/examples/cxx/parser/mixed/nmakefile new file mode 100644 index 0000000..5f9ebc9 --- /dev/null +++ b/dist/examples/cxx/parser/mixed/nmakefile @@ -0,0 +1,40 @@ +root = ..\..\..\.. + +!include $(root)\build\cxx\rules.nmake + +# Build. +# +EXTRA_CPPFLAGS = /I$(root)\libxsde + +!if "$(XSDE_LONGLONG)" == "n" +EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --no-long-long +!endif + +!if "$(XSDE_PARSER_VALIDATION)" == "n" +EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --suppress-validation +!endif + +!if "$(XSDE_POLYMORPHIC)" == "y" +EXTRA_XSDFLAGS = $(EXTRA_XSDFLAGS) --runtime-polymorphic +!endif + +driver.exe: driver.obj text-pskel.obj $(root)\libxsde\xsde\xsde.lib + +driver.obj: driver.cxx text-pskel.hxx anchor.hxx +text-pskel.obj: text-pskel.cxx text-pskel.hxx anchor.hxx + +text-pskel.hxx text-pskel.cxx: text.xsd text.map + $(root)\bin\xsde.exe cxx-parser $(XSDFLAGS) $(EXTRA_XSDFLAGS) \ +--type-map text.map text.xsd + +# Test. +# +test: driver.exe text.xml + .\driver.exe text.xml + + +# Clean. +# +clean: + -del text-pskel.?xx text-pskel.obj driver.obj driver.exe + |