Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
7b95debc
Commit
7b95debc
authored
Aug 26, 2019
by
jamesge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instructions to remove CMakeCache.txt before re-running cmakes
parent
54025e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
getting_started.md
docs/cn/getting_started.md
+7
-7
No files found.
docs/cn/getting_started.md
View file @
7b95debc
...
...
@@ -77,7 +77,7 @@ mkdir bld && cd bld && cmake .. && make
```
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To not link debugging symbols, use
`
rm -f CMakeCache.txt &&
cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To use brpc with glog, add
`-DWITH_GLOG=ON`
.
...
...
@@ -90,7 +90,7 @@ $ mkdir bld && cd bld && cmake .. && make
$
./echo_server &
$
./echo_client
```
Examples link brpc statically, if you need to link the shared version, use
`cmake -DLINK_SO=ON ..`
Examples link brpc statically, if you need to link the shared version, use
`
rm -f CMakeCache.txt &&
cmake -DLINK_SO=ON ..`
**Run tests**
```
shell
...
...
@@ -166,7 +166,7 @@ mkdir bld && cd bld && cmake .. && make
```
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To not link debugging symbols, use
`
rm -f CMakeCache.txt &&
cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To use brpc with glog, add
`-DWITH_GLOG=ON`
.
...
...
@@ -180,7 +180,7 @@ $ mkdir bld && cd bld && cmake .. && make
$
./echo_server &
$
./echo_client
```
Examples link brpc statically, if you need to link the shared version, use
`cmake -DLINK_SO=ON ..`
Examples link brpc statically, if you need to link the shared version, use
`
rm -f CMakeCache.txt &&
cmake -DLINK_SO=ON ..`
**Run tests**
```
shell
...
...
@@ -238,7 +238,7 @@ mkdir bld && cd bld && cmake -DCMAKE_INCLUDE_PATH="/path/to/dep1/include;/path/t
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To not link debugging symbols, use
`
rm -f CMakeCache.txt &&
cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To use brpc with glog, add
`-DWITH_GLOG=ON`
.
...
...
@@ -305,7 +305,7 @@ $ sh run_tests.sh
mkdir
bld
&&
cd
bld
&&
cmake ..
&&
make
```
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To not link debugging symbols, use
`
rm -f CMakeCache.txt &&
cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller.
To use brpc with glog, add
`-DWITH_GLOG=ON`
.
...
...
@@ -318,7 +318,7 @@ $ mkdir bld && cd bld && cmake .. && make
$
./echo_server &
$
./echo_client
```
Examples link brpc statically, if you need to link the shared version, use
`cmake -DLINK_SO=ON ..`
Examples link brpc statically, if you need to link the shared version, use
`
rm -f CMakeCache.txt &&
cmake -DLINK_SO=ON ..`
**Run tests**
```
shell
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment