[pylewiki]

MpsCompilerReference


Table of Contents


1 Usage

	mpsidl [ -h | -a | -c | -j | -n ] [ -o outputfile ] [ -i includefilename [ -i ... ] ] filename.mps

	mpsidl -h				Usage information
	mpsidl -a [ ... ] filename.mps		Generate both C++ and Java ("all")
	mpsidl -c [ ... ] filename.mps		Generate C++
	mpsidl -j filename.mps			Generate Java
	mpsidl -n filename.mps			Syntax-checking only

Use mpsidl -h to display usage information.


2 Generating C++

	mpsidl -c [ -o outputfile ] [ -i ... ] filename.mps

2.1 Filenames output

	outputfile.h
	outputfile.cc

2.2 Extra include files


3 Generating Java

	mpsidl -j filename.mps

3.1 Filenames output

	Packagename/InterfaceName.java
	Packagename/InterfaceNameProxy.java
	Packagename/InterfaceNameServer.java
	Packagename/StructName.java


4 Generating all supported languages

	mpsidl -a [ <C++-options> ] filename.mps


5 Syntax-checking mode

	mpsidl -n filename.mps

Go to Table of Contents


(last modified 04 June 2000 by tonyg)