forked from idealvin/coost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,7 @@ [email protected] | |
|
||
## 22. 编译 | ||
|
||
`CO` 使用 [xmake](https://github.com/xmake-io/xmake) 进行编译,后续可能不再支持 <s>[scons](https://scons.org/)</s>, <s>[vs project](https://visualstudio.microsoft.com/)</s>。 | ||
|
||
`CO` 使用 [xmake](https://github.com/xmake-io/xmake) 进行编译,后续可能不再支持 ~~[scons](https://scons.org/)~~, ~~[vs project](https://visualstudio.microsoft.com/)~~。 | ||
|
||
- 编译器 | ||
- Linux: [gcc 4.8+](https://gcc.gnu.org/projects/cxx-status.html#cxx11) | ||
|
@@ -84,7 +83,8 @@ cd ../build | |
cd co/rpcgen | ||
xmake | ||
|
||
# 可以将 rpcgen 放到系统目录下 | ||
# 建议将 rpcgen 放到系统目录下(/usr/local/bin/). | ||
# 有些 linux 系统自带了一个 rpcgen,为避免冲突,可能需要重命名 rpcgen. | ||
rpcgen hello_world.proto | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters