Home aktualisiert
26
Home.md
26
Home.md
@@ -13,33 +13,33 @@ For testing purposes _googletest_ is chosen as one of the favourite testing fra
|
|||||||
|
|
||||||
Just copy the commands between brackets [] below
|
Just copy the commands between brackets [] below
|
||||||
|
|
||||||
1) Clone the repository
|
1_ Clone the repository
|
||||||
|
|
||||||
// Take/create any temporary folder\
|
// Take/create any temporary folder\
|
||||||
[\
|
[\
|
||||||
git clone https://github.com/google/googletest.git
|
git clone https://github.com/google/googletest.git\
|
||||||
cd googletest
|
cd googletest\
|
||||||
mkdir build
|
mkdir build\
|
||||||
cd build\
|
cd build\
|
||||||
]
|
]
|
||||||
|
|
||||||
2) Configure and build
|
2_Configure and build
|
||||||
|
|
||||||
// Install system-wide (requires sudo)
|
// Install system-wide (requires sudo)\
|
||||||
[
|
[\
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON\
|
||||||
]
|
]
|
||||||
|
|
||||||
3) Compile and install
|
3_ Compile and install\
|
||||||
[
|
[\
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install\
|
||||||
]
|
]
|
||||||
|
|
||||||
Now the repository can be applied.
|
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, e.g.
|
||||||
mkdir fresh && cd fresh
|
mkdir fresh && cd fresh
|
||||||
git clone https://gitlab.2030net.de/G_Admin/BinderBeispielRegler.git
|
git clone https://gitlab.2030net.de/G_Admin/BinderBeispielRegler.git
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ Now the repository can be applied.
|
|||||||
Open localbuild.sh and adapt yout local Qt6 version ( path ) in line 7:
|
Open localbuild.sh and adapt yout local Qt6 version ( path ) in line 7:
|
||||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6
|
||||||
|
|
||||||
## 3. Build application an controller library, type on your linux console/terminal:
|
## 3. Build application and controller library, type on your linux console/terminal:
|
||||||
cd BinderBeispielRegler
|
cd BinderBeispielRegler
|
||||||
./localbuild.sh
|
./localbuild.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user