forked from Synergex/CodeGen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeGenCurrentFolder.cmd
More file actions
31 lines (25 loc) · 871 Bytes
/
CodeGenCurrentFolder.cmd
File metadata and controls
31 lines (25 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off
rem
rem This script configures a command-line environment to run the version of CodeGen that
rem is currently in the Bin\Release folder. Running this script will override any version
rem that might be installed on the system.
rem
call "%VS150COMNTOOLS%VsDevCmd.bat"
call "%SYNERGYDE64%dbl\dblvars64.bat" > nul
set CODEGEN_ROOT=%~dp0
set CODEGEN_EXTDIR=%CODEGEN_ROOT%Bin\Release
set CODEGEN_TPLDIR=.
set CODEGEN_OUTDIR=.
set RPSMFIL=.\rpsmain.ism
set RPSTFIL=.\rpstext.ism
PATH=%CODEGEN_ROOT%Bin\Release;%ProgramFiles(x86)%\MSBuild\Synergex\dbl;%PATH%
cls
echo.
codegen -version
echo.
echo CodeGen Executable : %CODEGEN_ROOT%Bin\Release\codegen.exe
echo Repository : %RPSMFIL% and %RPSTFIL%
echo Template folder : %CODEGEN_TPLDIR%
echo Output folder : %CODEGEN_OUTDIR%
echo.
cd /d "%CODEGEN_ROOT%OutputFiles"