23 lines
636 B
Batchfile
23 lines
636 B
Batchfile
setlocal
|
|
|
|
set TMP_ROOTDIR=%~dp0rootdir
|
|
set TMP_TARGETNAME=wizard
|
|
|
|
set WIZ_TARGET=%ISE_EIFFEL%\studio\wizards\new_projects\ewf
|
|
rd /q/s %WIZ_TARGET%
|
|
mkdir %WIZ_TARGET%
|
|
xcopy /I /E /Y %TMP_ROOTDIR% %WIZ_TARGET%
|
|
if not exist %WIZ_TARGET%\pixmaps mkdir %WIZ_TARGET%\pixmaps
|
|
move %WIZ_TARGET%\ewf.dsc %WIZ_TARGET%\..\ewf.dsc
|
|
|
|
rd /q/s tmp
|
|
mkdir tmp
|
|
ecb -config wizard.ecf -target %TMP_TARGETNAME% -finalize -c_compile -project_path tmp
|
|
rd /q/s %WIZ_TARGET%\spec
|
|
mkdir %WIZ_TARGET%\spec
|
|
mkdir %WIZ_TARGET%\spec\%ISE_PLATFORM%
|
|
move tmp\EIFGENs\%TMP_TARGETNAME%\F_code\wizard.exe %WIZ_TARGET%\spec\%ISE_PLATFORM%\wizard.exe
|
|
rd /q/s tmp
|
|
|
|
endlocal
|