You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- ModelProtoConverter and ModelProtoFileReader convined again (as non-unity is breaking this anyway). #rb Francisco.Vicente _codereview Francisco.Vicente #rnx #ROBOMERGE-AUTHOR: gines.hidalgo #ROBOMERGE-SOURCE: CL 18114237 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218) [CL 18124350 by gines hidalgo in ue5-release-engine-test branch]
32 lines
759 B
Batchfile
Executable File
32 lines
759 B
Batchfile
Executable File
@echo off
|
|
setlocal
|
|
|
|
SET vcpkg_root=%~dp0..\..\..\..\..\..\Source\ThirdParty\vcpkg\Win64\x64-windows-static-md-v142
|
|
SET protoc=%vcpkg_root%\protobuf_x64-windows-static-md-v142\tools\protobuf\protoc.exe
|
|
SET include=%vcpkg_root%\protobuf_x64-windows-static-md-v142\include
|
|
|
|
pushd %~dp0
|
|
mkdir .\Generated
|
|
|
|
for /R ".\Schemas" %%f in (*.proto*) do (
|
|
%protoc% -I=%include% --proto_path=%CD%\Schemas --cpp_out=%CD%\Generated %%f
|
|
)
|
|
|
|
for /R ".\Generated" %%f in (*.pb.cc) do (
|
|
type SchemaAutogenHeader.txt >%%f.new
|
|
type SchemaHeader.txt >>%%f.new
|
|
type %%f >>%%f.new
|
|
type SchemaFooter.txt >>%%f.new
|
|
|
|
move /y %%f.new %%f >NUL
|
|
)
|
|
|
|
for /R ".\Generated" %%f in (*.pb.h) do (
|
|
type SchemaAutogenHeader.txt >%%f.new
|
|
type %%f >>%%f.new
|
|
|
|
move /y %%f.new %%f >NUL
|
|
)
|
|
|
|
popd
|