Use CMake for protoc build
This commit is contained in:
parent
6ce418e0ec
commit
495e8a4eab
2 changed files with 5 additions and 4 deletions
BIN
.CMakeLists.txt.swp
Normal file
BIN
.CMakeLists.txt.swp
Normal file
Binary file not shown.
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd subprojects/protobuf
|
pushd subprojects/protobuf
|
||||||
./configure
|
mkdir -p build-native && cd build-native
|
||||||
make
|
cmake .. -G Ninja -DBUILD_TESTS=OFF
|
||||||
make install
|
ninja
|
||||||
make distclean
|
ninja install
|
||||||
|
popd
|
||||||
|
|
Loading…
Reference in a new issue