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
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
begin:vcard
fn:Guilherme Balena Versiani
n:Versiani;Guilherme
org:ComunIP S/A
adr;quoted-printable;quoted-printable:Bairro Funcion=C3=A1rios;;Rua Cl=C3=A1udio Manoel, 237;Belo Horizonte;MG;30140-100;Brasil
email;internet:[EMAIL PROTECTED]
tel;work:(+55/31) 3284-1007
url:http://www.comunip.com.br
version:2.1
end:vcard

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to