mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-10 10:59:39 +08:00
c5d57c03ee
* Replace protobuf 2.6.1 with 3.21.8 * Update/add protobuf libs * Add CS2 protos * Remove old csgo/dota protos * Add versioned protoc bin * Comment out Valve's `schema` define for now * Use ENetworkDisconnectionReason * Fix-up `offsetof` to avoid errors on some Clang versions
20 lines
1.0 KiB
XML
20 lines
1.0 KiB
XML
<project name="generate-sources">
|
|
<echo message="Running protoc ..."/>
|
|
<mkdir dir="${generated.sources.dir}"/>
|
|
<exec executable="${protoc}">
|
|
<arg value="--kotlin_out=lite:${generated.sources.dir}"/>
|
|
<arg value="--proto_path=${protobuf.source.dir}"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/any.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/api.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/duration.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/empty.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/field_mask.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/source_context.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/struct.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/timestamp.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/type.proto"/>
|
|
<arg value="${protobuf.source.dir}/google/protobuf/wrappers.proto"/>
|
|
</exec>
|
|
</project>
|
|
|