[CMake] CMake+newbie

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sun Apr 4 11:44:13 EDT 2010


On 2010-04-04 12:51+0530 Prashant Saxena wrote:

> Hi,
>
> This is my vary first post here. I have never tried CMake or similar stuff before and my skill set is limited in C/C++
> domain. Please have a little patience with me.
>
> On Linux(kubuntu karmic), I have to convert a makefile using CMake. The current makefile compiles three small .c
> files and produces a single binaries.(release & debug version both)
>
> The binary is a bootloader for python packaging tool "pyinstaller".
>
> Current implementation uses gcc compiler which I should replace with LSB in order to remove the binary dependency
> issue.
>
> I need some guidelines so that I can go forward and compile the bootloader using CMake script. It seems CMake scripts are much smaller and easier to create compare to makefiles but it's just what I have heard and never tried
> myself before.

Start with http://cmake.org/cmake/help/documentation.html.  Especially the
tutorial which gives some useful examples.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list