You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,27 +8,21 @@ Of course, this library is a replacement of C++11 features, it is best to use th
8
8
9
9
To use this library:
10
10
11
-
configure
12
-
make
13
-
make install
14
-
15
-
or
16
-
17
11
mkdir build && cd build
18
12
cmake ..
19
13
make install
20
14
21
15
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:
22
16
23
-
configure --prefix=/usr/local
17
+
cmake -DCMAKE_INSTALL_PREFIX=/your/destination/
24
18
25
19
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.
26
20
27
21
make doxygen
28
22
29
23
> Doxygen can be downloaded [here](http://www.stack.nl/~dimitri/doxygen/index.html).
30
24
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.
32
26
33
27
### How to use it
34
28
@@ -38,13 +32,7 @@ Once compiled and installed in a location that suites you, use your compiler opt
38
32
39
33
Once your compiler is upgraded you simply include the standard `#include <thread>` and replace the namespace `pthread` for `std`.
40
34
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.
48
36
49
37
If you use CMake, the test are built and run like this (in your `build` directory):
50
38
@@ -96,4 +84,4 @@ This project can produce Conan Artefacts using these commands:
0 commit comments