1,381
edits
Changes
Cmake
,no edit summary
<pre>sudo apt-get install cmake cmake-gui
</pre>
= Create your cmake hello world =
First we will create a new directory:
mkdir cmake_hello_world
Enter inside the directory and create your main.c file with the hello world code:
#include <stdio.h><br><br>int main (int argn, char *argv[])<br>{<br> printf("hello world\n");<br> return 0;<br>}<br><br>