mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:06:30 +00:00
46 lines
1.1 KiB
Batchfile
46 lines
1.1 KiB
Batchfile
@echo off
|
|
pushd %~dp0
|
|
|
|
call build_dotnet
|
|
|
|
call ..\Azaion.Inference\build.cmd
|
|
|
|
echo Download onnx model
|
|
cd %~dp0
|
|
if not exist cdn_manager.exe (
|
|
echo Install cdn_manager
|
|
call build_cdn_manager
|
|
)
|
|
|
|
call cdn_manager.exe download models
|
|
move models ..\dist\
|
|
cd..
|
|
|
|
echo Copy ico
|
|
copy logo.ico dist\
|
|
|
|
echo Copying shared libs
|
|
xcopy /E C:\\share\* dist\
|
|
|
|
set DESTINATION=dist\gps-denied\
|
|
|
|
if exist %DESTINATION% rmdir /S /Q %DESTINATION%
|
|
mkdir %DESTINATION%
|
|
|
|
echo copy gps denied files
|
|
copy ..\gps-denied\image-matcher\release\image-matcher.exe %DESTINATION%
|
|
|
|
copy ..\gps-denied\.libs\libzmq\build\dist\bin\libzmq-v143-mt-4_3_6.dll %DESTINATION%
|
|
copy ..\gps-denied\.libs\onnxruntime\lib\onnxruntime.dll %DESTINATION%
|
|
copy ..\gps-denied\.libs\onnxruntime\lib\onnxruntime_providers_cuda.dll %DESTINATION%
|
|
copy ..\gps-denied\.libs\onnxruntime\lib\onnxruntime_providers_shared.dll %DESTINATION%
|
|
copy ..\gps-denied\.libs\opencv\build\x64\vc16\bin\opencv_world4110.dll %DESTINATION%
|
|
|
|
|
|
mkdir %DESTINATION%\models
|
|
copy C:\\share\gps-models\* %DESTINATION%\models
|
|
|
|
echo building installer...
|
|
iscc build\installer.iss
|
|
|
|
popd |