<p>Wxdkct is a preprocessor for C, C++ and Objective-C for the following
purposes:
</p>
<ul>
<li><b>One module - one source file.</b><br>
The *.h and *.c (or *.cpp, *.m) files are created from one source file.
</li>
<li><b>Trace and debug messages.</b><br>
A special notation is used for trace and debug messages in wxdkct source
files. Depending on the conversion options C code is generated to
write debug messages to file or to standard output. When producing code
for a release, C code without debug messages is generated.
</li>
<li><b>Code generator for state machines.</b><br>
In a wxdkct source file you can describe a state machine using lookup
tables. Wxdkct generates C code using nested if and switch constructs
from it.<br>
A lookup table is easier to maintain but code without lookups
executes faster. This code generator combines advantages of both methods.
</li>
<li><b>Code generator for wxWidgets based GUIs</b><br>
C++ code section for GUI layout are often long and complicated.
Using wxdkct you can describe your GUI in an ini-file style section
in the *.wxc file.<br>
The code generator creates member variables declarations in the class
definition and code for the constructor.
</li>
</ul>
<p>Further information about dkct and wxdkct - especially about
the syntax for *.ctr and *.wxc files - is available at the
%%a href=http://dktools.sourceforge.net/dkct text="Project page at SourceForge" title%%.
</p>
<p>When running a conversion wxdkct processes all source files in the current
directory. A typical usage scenario includes:
</p>
<ul>
<li>Start wxdkct.
</li>
<li>Choose directory containing your sources (*.ctr, *.cpt, *.wxc, *.mtr,
*.jtr files).
</li>
<li>Probably multiple times:
<ul>
<li>Edit one or more source files.
</li>
<li>Set conversion options.
</li>
<li>Run conversion.
</li>
<li>Build software project.
</li>
<li>Text new software version.
</li>
</ul>
</li>
<li>Exit wxdkct.
</li>
</ul>
