Building state machine examples for StateBuilderCpp on Windows

Requirements

First of all, download and install CMake in order to generate the Visual Studio 2008/2010 or Makefile.

The build directory contains all the supported IDE: vs2008, vs2010 or mingw.

vs2008 Visual Studio 2008

C:\Users\frederic\> cd %STATEBUILDERCPP_HOME%\build\vs2008
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\vs2008> gen-vs2008.bat
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\vs2008> StateBuilderCpp.sln

vs2010 Visual Studio 2010

C:\Users\frederic\> cd %STATEBUILDERCPP_HOME%\build\vs2010
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\vs2010> gen-vs2010.bat
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\vs2010> StateBuilderCpp.sln

GnuLogo MinGW

C:\Users\frederic\> cd %STATEBUILDERCPP_HOME%\build\mingw
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\mingw> gen-makefile.bat
C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\mingw> make

The Makefile is created, to discover all the available targets, invoke the help target

C:\Users\frederic\AppData\Local\StateForge\StateBuilderCpp\build\mingw> make help