[CMake] configuration input to cmake

Guilherme Balena Versiani guibv at comunip.com.br
Fri May 11 13:22:46 EDT 2007


AFAIK using cmake involves basically two steps:

1) something like configure & generate build files (GNU Makefile, MSVC, 
KDevelop3, XCode, etc). For a tipical 'out-of-source' building:

    # mkdir <build_dir>
    # cmake ../<source_dir>

2) build software:

    # make

Optionally, you can have a 'make install' (see INSTALL command), a 'make 
package' (which means you are using CPack) and 'make test' (see CTest).

Regards,

Guilherme Balena Versiani.


Jun Sun escreveu:
> My build process involves a configuration stage. It roughly looks like
> this:
>
> * Generate cmakefile.inc and config.h from .config file
> * Use cmake to generate solution files or makefiles
> * Build with native toolchain
>
> It is not clear to me whether I should use an external script to do 
> step 1 or I can even do the first step with cmake itself.
>
> I am very new to cmake. Sorry if this is a dumb question. :)
>
> Cheers.
>
> Jun
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guibv.vcf
Type: text/x-vcard
Size: 323 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20070511/4c308306/guibv.vcf


More information about the CMake mailing list