Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wordle-de
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lukas Gülenstein
wordle-de
Commits
64e59000
Commit
64e59000
authored
2 years ago
by
Lukas Güldenstein
Browse files
Options
Downloads
Patches
Plain Diff
Update build instructions for codeblocks in readme
parent
b4b66e07
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-3
33 additions, 3 deletions
README.md
with
33 additions
and
3 deletions
README.md
+
33
−
3
View file @
64e59000
#
Template C Project with CMake as build system
#
Wordle-de ein wordle Nachbau in C++
## Configure
## Voraussetzungen
### Ubuntu
#### CMake installieren
```
sudo apt update && sudo apt install cmake
```
#### Bibliotheken installieren (Protobuf und Botan)
```
bash
sudo
apt update
&&
sudo
apt
install
libbotan-2-dev protobuf-codegen protobuf-compiler
```
## Kompilieren mit CodeBlocks
### Cmake konfigurieren
Im Terminal, im Verzeichnis wordle-de, folgenden Befehl ausführen:
```
cmake -B build -G"CodeBlocks - Unix Makefiles"
```
Anschließend kann das CodeBlocks Projekt unter
`build/wordle-de.cbp`
geöffnet werden.
Von hier aus können die Applikationen in CodeBlocks bearbeitet und kompiliert werden.
Die beiden Applikationen
`wordle-de_server`
und
`wordle-de_client`
können per Terminal (nicht aus CodeBlocks heraus) gestartet werden:
`./build/wordle-de_server`
`./build/wordle-de_client`
## Kompilieren ohne CodeBlocks
### Configure
`cmake -B build -S . -G "Ninja Multi-Config"`
## Build
##
#
Build
`cmake --build build [--config Debug|Release]`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment