3 rem Helper script to run generation of VS projects on Windows.
4 rem Running it requires that Tcl should be in the PATH
8 if exist "%~dp0env.bat" (
12 set "TCL_EXEC=tclsh.exe"
14 for %%X in (%TCL_EXEC%) do (set TCL_FOUND=%%~$PATH:X)
16 if not defined TCL_FOUND (
17 echo "Error. %TCL_EXEC% is not found. Please update PATH variable"
21 if not exist "%~dp0custom.bat" (
22 %TCL_EXEC% %~dp0adm/genconf.tcl
25 if not exist "%~dp0custom.bat" (
26 echo custom.bat is not created. Run the script again or create custom.bat manually
30 if exist "%~dp0env.bat" (
35 %TCL_EXEC% %~dp0adm/start.tcl genproj -path=. -target=%VCVER%