Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit 79903b6

Browse files
committed
Update README.md
1 parent 0a33b2e commit 79903b6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ On Linux using g++: add `-pthread`
3535

3636
Note: added `-lboost_thread` to make the json-example thread safe. On some systems you might have to use `-lboost_thread-mt` instead.
3737

38-
#### HTTP
38+
You can now also compile using CMake and make:
39+
40+
```
41+
cmake .
42+
make
43+
```
3944

40-
Use CMake and make, or:
45+
#### HTTP
4146

4247
`g++ -O3 -std=c++11 http_examples.cpp -lboost_system -lboost_thread -o http_examples`
4348

@@ -47,8 +52,6 @@ Also, direct your favorite browser to for instance http://localhost:8080/
4752

4853
#### HTTPS
4954

50-
Use CMake and make, or:
51-
5255
`g++ -O3 -std=c++11 https_examples.cpp -lboost_system -lboost_thread -lssl -lcrypto -o https_examples`
5356

5457
Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html

0 commit comments

Comments
 (0)