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
|
||||
|
||||
1) Clone the repository
|
||||
1_ Clone the repository
|
||||
|
||||
// Take/create any temporary folder\
|
||||
[\
|
||||
git clone https://github.com/google/googletest.git
|
||||
cd googletest
|
||||
mkdir build
|
||||
git clone https://github.com/google/googletest.git\
|
||||
cd googletest\
|
||||
mkdir build\
|
||||
cd build\
|
||||
]
|
||||
|
||||
2) Configure and build
|
||||
2_Configure and build
|
||||
|
||||
// Install system-wide (requires sudo)
|
||||
[
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
|
||||
// Install system-wide (requires sudo)\
|
||||
[\
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON\
|
||||
]
|
||||
|
||||
3) Compile and install
|
||||
[
|
||||
3_ Compile and install\
|
||||
[\
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
sudo make install\
|
||||
]
|
||||
|
||||
Now the repository can be applied.
|
||||
|
||||
## 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
|
||||
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:
|
||||
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
|
||||
./localbuild.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user