CMake, to compile easy!
Why to lose time to shape CMake instead using the old beloved compilation method, exactly Make? For two reasons: CMake is easier to use and is cross-platform, that is works on Linux, Windows, OS X, beyond that on Solaris, FreeBSD etc…

CMake can exactly generate Makefile for all these platforms, and, at the same time, rows of plan using KDevelop (KDE Integrated Development Environment), XCode (Mac OS X) and MS Visual Study (Windows).
This renders that it easy to use is the fact that not nozzle the compilation on behalf own, but it is limited to generate the rows demands in order to compile the code, and this that renders it portabile, is its ability to use practically any system of compilation wants to employ. The rows from which CMake it receives the instructions, practically what the sviluppatori must insert in the folder of the code source, is CMakeLists.txt and regarding Makefile.am it introduces some advantages: It is less complex (demands the name of the rows once single, with the exception of Makefile where there are three various voices for single rows), faster, the error messages supply better indications for the correction of same, the lightest one.
We make an example. We create a eseguibile called “helloworld” (or “helloworld.exe” on Windows) from the rows source main.cpp:
add_executable (helloworld main.cpp)
We put these rows within directory the source and type:
cmake <path_to_the_source_dir>
Post correlated…
Google pack on linux? by Mad on November 8th, 2007
Turning for the blogosfera I have found this interesting.
An attractive open source photo workflow by Mad on December 24th, 2007
The plan.
To Been born it is played them! by Mad on January 2nd, 2008
It is tradition to play to papers, perhaps but considered the times not certainly happy from the economic point of view, it is better not to let to try.
Contradiction in terms? by Mad on November 24th, 2007
It marks it this.
The fantasy exceeds the truth! Or not? by Mad on February 22nd, 2008
Microsoft becomes open source.




















