As of tomorrows CRON run the AWS plugin will be added to the MSVC global build. Thus as of then bleeding edge cvs users/developers using MSVC will need to unload the aws plugin or work through the following instructions in-order to compile.
As of tomorrows CRON run the AWS plugin will be added to the MSVC global build.
Thus as of then bleeding edge cvs users/developers using MSVC will need to unload
the aws plugin or work through the following instructions in-order to compile.


*** How to build AWS plugin with MSVC ***


*** Downloading "BisonFlex" ***

Firstly you need "BisonFlex Wizard" developed and released by "FG Soup Sofware"
http://www.fg-soup.com under General Public License (GPL). BisonFlex will not
only allow you to build the AWS plugin, but will also allow you to use the
included appwizard and associated features to make use of lexers etc. in your
own software. :-)

Download Links:

For MSVC 5:

http://www.philipwyett.dsl.pipex.com/crystal_space/msvc/downloads/bfwizard-1.5.zip

For MSVC 6:

http://www.philipwyett.dsl.pipex.com/crystal_space/msvc/downloads/bfwizard-1.6.zip


*** Installing "BisonFlex" ***

Next you need to unpack the ".zip" you downloaded and then run the "setup.exe" and
follow the instructions. Please take your time with the install process! :-)


*** Setting Up Custom Build ***

Open "CS\mk\visualc\csall.dsw".

In the left hand "Workspace" window click on the "FileView" tab at he bottom, then
in the window look for and find the project "plgaws".

Now expand the aws project in the tree and then the "Resource Files" directory.

Right click on "skinlang.flx" and click on "Settings".

You will now be presented with the "Project Settings" dialog for that file.

Click on the "Custom Build" tab. In the text box "Commands enter the following:

flex.exe -Plex_cpp -L -t ..\..\plugins\aws\skinlang.flx > ..\..\plugins\aws\sllex.cpp

Now in the "Outputs" text box enter the following:

..\..\plugins\aws\sllex.cpp

Next click on the "General" tab and check the box "Always use the custom build step"

Now just "Ok" out of that dialog box and do a "Save all" and re-build CS.


*** Notes for CS Developers ***

This custom build step re-generates "sllex.cpp" with a VC friendly version and is
slightly different from the one currently in cvs. However, the file generated by
MSVC/BisonFlex is CS Mingw compatible. :-)

Please remember not to commit the locally modified "sllex.cpp" to cvs. :-)


*** TODOS ***

Try get rid of this setup and intergrate into MSVCGEN



Regards

Philip Wyett


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@7690 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS