Lumaschk is a command line program that checks a Lumas definition file.
The Lumas definition is parsed and any errors or warnings reported.
The output is compatible with Visual Studio error messages, and can therefore
be used as a custom build step. To do this, use the following steps:
- Add the Lumas files to the project, and select them,
- Select the menu item Project->Settings...
- Select the Custom Build tab.
- In the Commands window, enter something like "lumaschk.exe $(InputPath)".
(You may find you need some trial and error to get the path names to work correctly.)
- You need to enter something in the 'Outputs' window, but as the program does not
generate any files, what is specified is not important.
- If you choose to use the program in this way, it may be appropriate to place the
lumaschk.exe file in with the other Visual Studio executables.
Format:
Where:
- source-file =
- Name of file containing message definition
- library-source-file =
- (Optional) Specifies name of additional Lumas
source file(s). Each additional source file name must be
preceded by a + flag.
- project-file.lmsprj =
- The name of a file that contains the names of the
files to be examined. The name of the file must have the extension
".lmsprj". Each file in the project is specified on a
separate line. This variant is useful when developing a set of Lumas
files using Visual Studio or similar IDEs.
Example:
lumaschk source.lms + lib1.lms + lib2.lms
lumaschk my-proj.lmsprj
Flags:
-? - Print out this help information
For more about Lumas,
see http://www.tech-know-ware.com/lumas
Copyright © 2003, Tech-Know-Ware Ltd (Last updated August 2003)