Changes

Cmake

347 bytes added, 10:54, 9 February 2014
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 &lt;stdio.h&gt;<br><br>int main (int argn, char *argv[])<br>{<br>&nbsp;&nbsp; &nbsp;printf("hello world\n");<br>&nbsp;&nbsp; &nbsp;return 0;<br>}<br><br>