WOK

WOK (Workshop Organization Kit) is Open CASCADE development environment, which can be used to organize the source files of an application as a set of development units, to build them using a "make"-like process and to assemble the results into toolkits (Unix-like shareables or DLL files).

Development units are gathered in entities called workbenches that can be organized in a tree structure.

Typically, a workbench tree (also called a workshop) lets you manage a reference space (the root workbench) and the private workspaces connected to it.

Only the files undergoing modification are found in these workbenches. WOK automatically locates all components needed during the build process (source files, include files, shareables, etc.).

WOK manages the integration process in such a way that the modifications done in a private workspace can be queued before being integrated into the reference space. This minimizes the time in which the reference space is in an inconsistent state and allows it to be managed by only one person or a limited number of people.

Moreover, WOK contains a C++ extractor processor that allows you to create C++ classes using the CDL (Component Definition Language) of the Open CASCADE Technology programming platform. Some components, which CDL enables you to create, are specific to the Open CASCADE application architecture.

 

Organizationally, WOK allows a large number of developers to work on a variety of products simultaneously. Within the framework of this environment the developers can produce multiple versions of products for various hardware and software platforms, including versions corresponding to specific marketing requirements. At the same time WOK enables to reuse software components with a maximum possible effect. In other words, WOK is designed to facilitate industrial-scale development.

 

WOK is available on all supported platforms.

 

Please, refer for more details to User's Guide (WOK)

 

WOK installation

 

Pre-Requesites

This version of Wok requires at least Tcl 8.3.
(Hereinafter we assume you have downloaded this)

 

Installation

1. cd $CASROOT/../wok/site

2. Copy the contents of the file tclshrc_Wok from this directory to .tclshrc or .wishrc depending on the shell you want to use.

3. To build the initial wok entities structure, start $CASROOT/../wok/site/wokinit.csh

4. Open $CASROOT/../wok/lib/CSF.edl and if necessary redefine the following variables according to your system configuration

CSF_WOKHOME - path to your wok folder (for example /xxx/$CASROOT/../wok folder)

CSF_CXX_COMPILER - your cxx compiler

CSF_C_COMPILER - your c compiler

CSF_F77_COMPILER - your f77 compiler

CSF_LINKER - your linker

CSF_JavaHome - path to Java installed on your system

CSF_TCL_HOME - path to Tcl/Tk installed on your system

CSF_X11_INCLUDE - path to X11 headers

CSF_OPENGL_INCLUDE -path to OpenGl headers

X11_LIB - path to X11 libraries

5. To start wok, use the $CASROOT/../wok/site/wok.csh file

6. To create wok dependencies structure , make

> wokcd ros

> wprocess -o

 

1. cd $CASROOT \..\Wok\site

2. To build the initial wok entities structure, start $CASROOT \..\wok\site\wokinit.bat

3. Open $CASROOT \..\wok\lib\CSF.edl and if necessary redefine the following variables according to your system configuration

CSF_WOKHOME - path to your wok folder (for example \xxx\ $CASROOT\..\wok folder)

CSF_CXX_COMPILER - your cxx compiler

CSF_C_COMPILER - your c compiler

CSF_F77_COMPILER - your f77 compiler

CSF_LINKER - your linker

CSF_LibraryHeaderLib - path to MS Visual Studio libraries

CSF_JavaHome - path to Java installed on your system

CSF_TCL_HOME - path to Tcl/Tk installed on your system

4. To start wok, use the OCC\Wok\WOK item of the Programs menu

5. To create wok dependencies structure , make

> wokcd ros

> wprocess -o

 

By default all the required initializations are done by the tcl init file. It sets the location where Wok will find or create the entities structure. This location is pointed to by the environment variable ( or MS Dos variable ) named WOK_ROOTADMDIR. If you want to address to previous Wok workbenches (say those created with the OCC4.0 version) set the variable WOK_ROOTADMDIR to the corresponding one.

Note: The directory pointed to by WOK_ROOTADMDIR contains at least 3 files: ATLIST, DEFAULT.edl, WOKSESSION.edl.

 

 

See also

User's Guide (WOK)

User's Guide (CDL)