Skip to content

Commit 538b1fe

Browse files
committed
Optimize build size
1 parent e341bd4 commit 538b1fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
run: ${{ env.VCPKG_ROOT }}/bootstrap-vcpkg.sh
6464

6565
- name: Configure CMake
66-
run: cmake -S "${{github.workspace}}" -B "${{env.CMAKE_BUILD_DIR}}" -DVCPKG_TARGET_TRIPLET=${{matrix.triplet}}
66+
run: cmake -S "${{github.workspace}}" -B "${{env.CMAKE_BUILD_DIR}}" -DVCPKG_TARGET_TRIPLET=${{matrix.triplet}} -DCMAKE_BUILD_TYPE=Release
6767

6868
- name: Build
6969
run: cmake --build "${{env.CMAKE_BUILD_DIR}}" --config Release --target "${{ matrix.target }}" -j 6 --

src/bridge/ProtobufMessages.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ package messages;
4949

5050
option java_package = "dev.slimevr.bridge";
5151
option java_outer_classname = "ProtobufMessages";
52+
option optimize_for = LITE_RUNTIME;
5253

5354
message PingPong {
5455
}

0 commit comments

Comments
 (0)