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
c6a206e7
Commit
c6a206e7
authored
Jan 30, 2018
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make DEBUG_SYMBOLS on by default
parent
779f32c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
CMakeLists.txt
+1
-1
getting_started.md
docs/cn/getting_started.md
+3
-3
No files found.
CMakeLists.txt
View file @
c6a206e7
...
...
@@ -17,7 +17,7 @@ endif()
option
(
BRPC_WITH_GLOG
"With glog"
OFF
)
option
(
DEBUG
"Print debug logs"
OFF
)
option
(
WITH_DEBUG_SYMBOLS
"With debug symbols"
O
FF
)
option
(
WITH_DEBUG_SYMBOLS
"With debug symbols"
O
N
)
option
(
BUILD_UNIT_TESTS
"Whether to build unit tests"
OFF
)
set
(
WITH_GLOG_VAL
"0"
)
...
...
docs/cn/getting_started.md
View file @
c6a206e7
...
...
@@ -67,7 +67,7 @@ $ mkdir build && cd build && cmake .. && make
```
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
Use
`cmake -DWITH_DEBUG_SYMBOLS=ON ..`
to link debugging symbols
.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller
.
**Run example with cmake**
```
...
...
@@ -142,7 +142,7 @@ $ mkdir build && cd build && cmake .. && make
```
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
Use
`cmake -DWITH_DEBUG_SYMBOLS=ON ..`
to link debugging symbols
.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller
.
**Run example**
...
...
@@ -208,7 +208,7 @@ $ mkdir build && cd build && cmake -DCMAKE_INCLUDE_PATH="/path/to/dep1/include;/
To change compiler to clang, overwrite environment variable CC and CXX to clang and clang++.
Add
`-DWITH_DEBUG_SYMBOLS=ON`
to link debugging symbols
.
To not link debugging symbols, use
`cmake -DWITH_DEBUG_SYMBOLS=OFF ..`
and compiled binaries will be much smaller
.
# Supported deps
...
...
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