set prev_path=%path%
set path=%WbOut%\release;%prev_path%

vcbuild genwrap.vcproj Stage1_Release

pushd ..\..\generated
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.app.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.maxdb.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.mgmt.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.migration.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.mssql.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.mysql.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.oracle.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.query.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.sybase.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.db.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.eer.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.model.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.workbench.logical.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.workbench.model.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.workbench.physical.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.workbench.xml . grts
..\tools\genwrap\Stage1_Release\genwrap1 structs ../res/grt/structs.xml . grts
popd

vcbuild genwrap.vcproj Stage2_Release

pushd ..\..\generated
REM ..\tools\genwrap\Stage2_Release\genwrap2 interfaces ../modules/interfaces/interfaces.h grti/interfaces.h
..\tools\genwrap\Stage2_Release\genwrap2 interfaces ../modules/interfaces/plugin.h grti/plugin.h
popd

pause
