編譯指令,在powershell中執行 :
.\protoc.exe .\ive.proto --cpp_out .
.\protoc.exe .\ive.proto --csharp_out .
注意:運行庫為
多線程DLL(/MD),protobuf的運行庫為(/MT)(如果默認的話)
Cmake編譯
設置步驟
1、設置第三方庫
2、取消編譯example
3、設置靜態庫和動態庫的生成

4、【生成】

<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">