Building Tools Generation

Building tools can be generated only with WOK.

### Generation of building projects for particular units (tool-kits or executables)

1. Launch WOK session

2. Create project for MS Visual Studio 6.0 with commands

osutils:mkdsp <output dir> <toolkit name> or

osutils:mkdspx <output dir> <executable name>

3. Create project for MS Visual Studio 7.1 with commands

osutils:vcproj <output dir> <toolkit name> or

osutils:vcprojx <output dir> <executable name>

4. Create makefile for MS nmake with commands

osutils:mkmak <output dir> <toolkit name> or

osutils:mkmakx <output dir> <executable name>

5. Create automake Make.am file with command

osutils:mkam <output dir> <toolkit name> or

osutils:mkamx <output dir> <executable name>

### Generation of solution for MS Visual Studio 7.1

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. source <path to OS resource>/<Module Name>.tcl

4. OS:sln <Module name> <output dir>

Generation of solution and corresponding projects for MS Visual Studio 7.1

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. source <path to OS resource>/<Module Name>.tcl

4. OS:net <Module name> <output dir>

Generation of workspace for MS Visual Studio 6.0

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. source <path to OS resource>/<Module Name>.tcl

4. OS:dsw <Module name> <output dir>

Generation of workspace and corresponded projects for MS Visual Studio 6.0

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. source <path to OS resource>/<Module Name>.tcl

4. OS:dsp <Module name> <output dir>

Generation of nmake files for whole OCCT

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. OS:MKMAK <output dir>

Generation of building tools for whole OCCT

1. Launch WOK session and go to workbench

2. source <path to OS resource>/OS.tcl

3. OS:MKPRC <platform name>Type topic text here.