Skip to content

Commit c59f713

Browse files
fixes #79 @1h
1 parent ad52bc7 commit c59f713

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
v1.8.0
2+
- integrate GTest as an external module (#79)
23
- use CMake
34
v1.7.3
45
- sync_queue::set_max_size accepts 0.

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,21 @@ Of course, this library is a replacement of C++11 features, it is best to use th
88

99
To use this library:
1010

11-
configure
12-
make
13-
make install
14-
15-
or
16-
1711
mkdir build && cd build
1812
cmake ..
1913
make install
2014

2115
Install moves files into your system's default location for headers and libraries (often /usr/local/include and /usr/local/lib). Use this command line argument to change install target directory:
2216

23-
configure --prefix=/usr/local
17+
cmake -DCMAKE_INSTALL_PREFIX=/your/destination/
2418

2519
Doxygen [documentation](http://herbertkoelman.github.io/cpp-pthread/doc/html/) can be generated with this command. I hope this help make things easier to use and understand.
2620

2721
make doxygen
2822

2923
> Doxygen can be downloaded [here](http://www.stack.nl/~dimitri/doxygen/index.html).
3024
31-
The `make` target `pkg` will produce au tar.gz that can be distributed.
25+
The `make` target `package` will produce au tar.gz that can be distributed.
3226

3327
### How to use it
3428

@@ -38,13 +32,7 @@ Once compiled and installed in a location that suites you, use your compiler opt
3832

3933
Once your compiler is upgraded you simply include the standard `#include <thread>` and replace the namespace `pthread` for `std`.
4034

41-
Sample code can be found in the `tests` directory. To use it, run the following commands:
42-
43-
cd tests
44-
./configure
45-
./make
46-
47-
> **WARNING** tests rely on GoogleTest and which MUST be installed before building.
35+
Sample code can be found in the `tests` directory.
4836

4937
If you use CMake, the test are built and run like this (in your `build` directory):
5038

@@ -96,4 +84,4 @@ This project can produce Conan Artefacts using these commands:
9684

9785
### Diagrams
9886

99-
![overview](diagrams/threads-classes.png)
87+
![overview](diagrams/threads-classes.png)

sonar-project.properties.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ sonar.verbose=false
1010
#sonar.working.directory=/path/to/working/folder/.sonar
1111

1212
# The project key that is unique for each project.
13-
sonar.projectKey=ITC-cpp-pthread
13+
sonar.projectKey=cpp-pthread
1414

1515
# Name of the project that will be displayed on the web interface.
16-
sonar.projectName=pmu:cpp-pthread
16+
sonar.projectName=cpp-pthread
1717
sonar.projectVersion=@BUILD@
1818

1919
# Comma-separated paths to directories containing source files

0 commit comments

Comments
 (0)