Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockoS committed Sep 1, 2024
1 parent 5c3a57d commit 420b3c1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 26 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,27 +189,24 @@ This can be acheived using a package manager (apt, brew, chocolate, pacman, ...)
wget https://github.com/akheron/jansson/archive/v2.12.zip
unzip v2.12.zip
cd jansson-2.12
mkdir -p build/cmake
mkdir -p build/install
cd build/cmake
cmake ../.. -DJANSSON_BUILD_DOCS=OFF \
-DJANSSON_WITHOUT_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=../install
cmake --build . --target install
cd ../../..
mkdir -p build
cmake -Bbuild/cmake -S . \
-DJANSSON_BUILD_DOCS=OFF \
-DJANSSON_WITHOUT_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=build/install
cmake --build build/cmake --target install
```

Now on to building etripator.
```
cd etripator
mkdir -p build/cmake
cd build/cmake
cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install
mkdir -p build
cmake -Bbuild/cmake -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake/install
```

If you build jansson as shown earlier you may configure the project with
```
cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install \
cmake -Bbuild/cmake -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=build/install \
-DJANSSON_INCLUDE_DIR=../../jansson-2.12/build/install/include \
-DJANSSON_LIBRARY=../../jansson-2.12/build/install/lib/jansson.lib
```
Expand All @@ -218,7 +215,7 @@ cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install \

If everything went right, you can now compile the project with:
```
cmake --build . --config Release --target install
cmake --build build/cmake --target install
```

## Authors
Expand Down
23 changes: 10 additions & 13 deletions README.nfo
Original file line number Diff line number Diff line change
Expand Up @@ -246,35 +246,32 @@ or by building it from source.
wget https://github.com/akheron/jansson/archive/v2.12.zip
unzip v2.12.zip
cd jansson-2.12
mkdir -p build/cmake
mkdir -p build/install
cd build/cmake
cmake ../.. -DJANSSON_BUILD_DOCS=OFF \
-DJANSSON_WITHOUT_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=../install
cmake --build . --target install
cd ../../..
mkdir -p build
cmake -Bbuild/cmake -S . \
-DJANSSON_BUILD_DOCS=OFF \
-DJANSSON_WITHOUT_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=build/install
cmake --build build/cmake --target install


Now on to building etripator.

cd etripator
mkdir -p build/cmake
cd build/cmake
cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install
mkdir -p build
cmake -Bbuild/cmake -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake/install


If you build jansson as shown earlier you may configure the project with

cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install \
cmake -Bbuild/cmake -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=build/install \
-DJANSSON_INCLUDE_DIR=../../jansson-2.12/build/install/include \
-DJANSSON_LIBRARY=../../jansson-2.12/build/install/lib/jansson.lib

* Build

If everything went right, you can now compile the project with:

cmake --build . --config Release --target install
cmake --build build/cmake --target install

¬°¤*,¸¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸
¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸,*¤°¬¯¬°¤*,¸_¸,*¤°¬°¤*,¸,*¤°¬¯
Expand Down

0 comments on commit 420b3c1

Please sign in to comment.