CMake - Code :: Blocks - привет мир - базовый пример
Где я могу найти руководство по созданию простого проекта CMake Hello World для загрузки в CMake?
платформа: Lenovo 32bit Linux Kubuntu
1) Я бы использовал git-репо:./git/CMakeLists.txt
./git/code/CMakeLists.txt
./git/code/hello-world.c
где файлы содержат очевидный контент
2) я бы запустил cmake- pointing the source to the git repo indicated in 1
- configuring the repo
- generating the code-blocs-project (cbp) file in ./build
3) так что я могу просто нажать- 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!"