Home aktualisiert
39
Home.md
39
Home.md
@@ -1,10 +1,42 @@
|
|||||||
Willkommen im Wiki.
|
Willkommen im Wiki.
|
||||||
|
|
||||||
Basic toolkit setup is not (yet?) described here - it is identical to the _SOM-setup_.
|
|
||||||
|
|
||||||
# Quick info
|
# Quick info
|
||||||
on the very beginning of developing the _control-algrorithm_
|
on the very beginning of developing the _control-algrorithm_
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
Basic toolkit setup is not (yet?) described here - it is identical to the _SOM-setup_.
|
||||||
|
|
||||||
|
For testing purposes _googletest_ is chosen as one of the favourite testing frameworks - an extra installation needs to be done:
|
||||||
|
|
||||||
|
## Install Google Test on Linux
|
||||||
|
|
||||||
|
Just copy the commands between brackets [] below
|
||||||
|
|
||||||
|
1) Clone the repository
|
||||||
|
// Take/create any temporary folder
|
||||||
|
[
|
||||||
|
git clone https://github.com/google/googletest.git
|
||||||
|
cd googletest
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
]
|
||||||
|
|
||||||
|
2) Configure and build
|
||||||
|
|
||||||
|
//Install system-wide (requires sudo)
|
||||||
|
[
|
||||||
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
|
||||||
|
]
|
||||||
|
|
||||||
|
3) Compile and install
|
||||||
|
[
|
||||||
|
make -j$(nproc)
|
||||||
|
sudo make install
|
||||||
|
]
|
||||||
|
|
||||||
|
Now the repository can be applied.
|
||||||
|
|
||||||
## 1. Checkout from repo:
|
## 1. Checkout from repo:
|
||||||
On your local machine create a fresh folder and execute following commands
|
On your local machine create a fresh folder and execute following commands
|
||||||
mkdir fresh && cd fresh
|
mkdir fresh && cd fresh
|
||||||
@@ -27,11 +59,8 @@ Basic toolkit setup is not (yet?) described here - it is identical to the _SOM-s
|
|||||||
## 5. Stop the application
|
## 5. Stop the application
|
||||||
- hit any key on the keyboard
|
- hit any key on the keyboard
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------- currently at work -----------------------------------
|
|
||||||
|
|
||||||
## 6. Test
|
## 6. Test
|
||||||
Just type
|
Just type
|
||||||
tests/tests
|
tests/tests
|
||||||
- some dummy tests are executed, results are showing up
|
- some dummy tests are executed for a start, 'results' are showing up
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user