CMake - Code :: Blocks - olá mundo - exemplo básico
Onde posso encontrar um guia para gerar um projeto simples do CMake Hello World para ser carregado no CMake?
plataforma: Lenovo 32bit Linux Kubuntu
1) Eu estaria usando um repositório git:./git/CMakeLists.txt
./git/code/CMakeLists.txt
./git/code/hello-world.c
onde os arquivos contêm o conteúdo óbvio
2) eu executaria cmake- pointing the source to the git repo indicated in 1
- configuring the repo
- generating the code-blocs-project (cbp) file in ./build
3) para que eu possa simplesmente clicar- 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!"