0026493: BRepProj_Projection failed to project a wire on a shell
[occt.git] / genproj.bat
CommitLineData
910970ab 1@echo off
2
3rem Helper script to run generation of VS projects on Windows.
4rem Running it requires that Tcl should be in the PATH
5
6SET "OLD_PATH=%PATH%"
7
8if not exist "%~dp0custom.bat" (
9 tclsh.exe ./adm/genconf.tcl
10)
11
12if not exist "%~dp0custom.bat" (
13 echo custom.bat is not created. Run the script again and generate custom.bat
14 goto :eof
15) else (
16 call "%~dp0custom.bat"
17)
18
19if exist "%~dp0env.bat" (
20 call "%~dp0env.bat"
21)
22
23cd %~dp0
24tclsh.exe ./adm/genproj.tcl -path=. -target=%VCVER%
25SET "PATH=%OLD_PATH%"