README.md: Added command prompt symbol for consistency.

parent e50c9d51
...@@ -109,22 +109,22 @@ To use within a vanilla makefile, you can call `pkg-config` directly to supply c ...@@ -109,22 +109,22 @@ To use within a vanilla makefile, you can call `pkg-config` directly to supply c
To download the latest available release, clone the repository over github. To download the latest available release, clone the repository over github.
```console ```console
git clone https://github.com/oktal/pistache.git $ git clone https://github.com/oktal/pistache.git
``` ```
Then, init the submodules: Then, init the submodules:
```console ```console
git submodule update --init $ git submodule update --init
``` ```
Now, compile the sources: Now, compile the sources:
```console ```console
cd pistache $ cd pistache
mkdir -p {build,prefix} $ mkdir -p {build,prefix}
cd build $ cd build
cmake -G "Unix Makefiles" \ $ cmake -G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DPISTACHE_BUILD_EXAMPLES=true \ -DPISTACHE_BUILD_EXAMPLES=true \
-DPISTACHE_BUILD_TESTS=true \ -DPISTACHE_BUILD_TESTS=true \
...@@ -132,21 +132,21 @@ Now, compile the sources: ...@@ -132,21 +132,21 @@ Now, compile the sources:
-DPISTACHE_USE_SSL=true \ -DPISTACHE_USE_SSL=true \
-DCMAKE_INSTALL_PREFIX=$PWD/../prefix \ -DCMAKE_INSTALL_PREFIX=$PWD/../prefix \
../ ../
make -j $ make -j
make install $ make install
``` ```
If you chose to build the examples, then perform the following to build the examples. If you chose to build the examples, then perform the following to build the examples.
```console ```console
cd examples $ cd examples
make -j $ make -j
``` ```
Optionally, you can also build and run the tests (tests require the examples): Optionally, you can also build and run the tests (tests require the examples):
```console ```console
cmake -G "Unix Makefiles" -DPISTACHE_BUILD_EXAMPLES=true -DPISTACHE_BUILD_TESTS=true .. $ cmake -G "Unix Makefiles" -DPISTACHE_BUILD_EXAMPLES=true -DPISTACHE_BUILD_TESTS=true ..
make test test_memcheck $ make test test_memcheck
``` ```
Be patient, async_test can take some time before completing. And that's it, now you can start playing with your newly installed Pistache framework. Be patient, async_test can take some time before completing. And that's it, now you can start playing with your newly installed Pistache framework.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment