-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCodeGenEnvironment.cmd
More file actions
32 lines (26 loc) · 1.02 KB
/
CodeGenEnvironment.cmd
File metadata and controls
32 lines (26 loc) · 1.02 KB
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
32
@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_TPLDIR=%CODEGEN_ROOT%SampleTemplates
set CODEGEN_OUTDIR=%CODEGEN_ROOT%OutputFiles
set CODEGEN_EXTDIR=%CODEGEN_ROOT%Bin\Release
set RPSDAT=%CODEGEN_ROOT%SampleRepository
set RPSMFIL=%CODEGEN_ROOT%SampleRepository\rpsmain.ism
set RPSTFIL=%CODEGEN_ROOT%SampleRepository\rpstext.ism
PATH=%CODEGEN_ROOT%Bin\Release;%ProgramFiles(x86)%\MSBuild\Synergex\dbl;%ProgramFiles(x86)%\WiX Toolset v3.9\bin;%PATH%
cd /d %CODEGEN_OUTDIR%
cls
echo.
codegen -version
echo.
echo CodeGen Executable : %CODEGEN_ROOT%Bin\Release\codegen.exe
echo Repository : %RPSMFIL%
echo Template folder : %CODEGEN_TPLDIR%
echo Output folder : %CODEGEN_OUTDIR%
echo.