11 строки
330 B
Batchfile
11 строки
330 B
Batchfile
@echo off
|
|
|
|
SET cargoargs=
|
|
IF "%~1"=="--release" SET cargoargs=--release --target="i686-pc-windows-msvc"
|
|
|
|
cargo build %cargoargs%
|
|
|
|
SET target=debug
|
|
IF "%~1"=="--release" SET target=i686-pc-windows-msvc\release
|
|
|
|
.\tools\mt.exe -nologo -manifest resources\main.manifest -outputresource:"target\%target%\inno_updater.exe;#1" |