CMake - Code :: Blocks - Hallo Welt - einfaches Beispiel

Wo finde ich eine Anleitung zum Generieren eines einfachen CMake Hello World-Projekts, das in CMake geladen werden soll?

Plattform: Lenovo 32bit Linux Kubuntu

1) Ich würde ein Git Repo benutzen:
./git/CMakeLists.txt
./git/code/CMakeLists.txt
./git/code/hello-world.c

wo die Dateien den offensichtlichen Inhalt enthalten

2) Ich würde cmake @ ausführ
- pointing the source to the git repo indicated in 1
- configuring the repo
- generating the code-blocs-project (cbp) file in ./build
3) also kann ich einfach auf @ klick
- the cbp link in ./build
- compile the project in c::b and run a 
- very basic console program spitting out, you guessed it: "Hello stack overflowers!"

Antworten auf die Frage(2)

Ihre Antwort auf die Frage