Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
f57769eb
Unverified
Commit
f57769eb
authored
Jan 23, 2020
by
Kip Warner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README.md: Added command prompt symbol for consistency.
parent
e50c9d51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
README.md
README.md
+12
-12
No files found.
README.md
View file @
f57769eb
...
@@ -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.
...
...
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