Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
b8bce0c7
Commit
b8bce0c7
authored
Sep 27, 2019
by
Chunsheng Pei
Committed by
Dominic Hamon
Sep 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the param order in g++ command and fixed the path for -L (#879)
* fixed the param order in g++ command and fixed the path for -L * reorder the parameters for g++ command
parent
b874e722
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
b8bce0c7
...
@@ -182,8 +182,8 @@ library will be under the build directory you created.
...
@@ -182,8 +182,8 @@ library will be under the build directory you created.
```
bash
```
bash
# Example on linux after running the build steps above. Assumes the
# Example on linux after running the build steps above. Assumes the
# `benchmark` and `build` directories are under the current directory.
# `benchmark` and `build` directories are under the current directory.
$
g++
-std
=
c++11
-isystem
benchmark/include
-Lbuild
/src
-lpthread
\
$
g++
mybenchmark.cc
-std
=
c++11
-isystem
benchmark/include
\
-
lbenchmark
mybenchmark.cc
-o
mybenchmark
-
Lbenchmark
/build/src
-lbenchmark
-lpthread
-o
mybenchmark
```
```
Alternatively, link against the
`benchmark_main`
library and remove
Alternatively, link against the
`benchmark_main`
library and remove
...
...
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