討論群:309800774 知乎關(guān)注:http://zhihu.com/people/sunicdavy 開源項(xiàng)目:https://github.com/davyxu
在插件菜單NppExec->Execute彈出的對話框中輸入以下信息
"protoc.exe" --cpp_out $(CURRENT_DIRECTORY) --proto_path $(CURRENT_DIRECTORY) $(FULL_CURRENT_PATH)
protoc.exe的路徑可以自己指定本機(jī)的絕對路徑
編譯出的文件將自動放置到proto文件所在目錄
Powered by: C++博客 Copyright © 戰(zhàn)魂小筑