Alex Chapiro
|
Re: How can automated builds be set up with 4.5?
|
Alex Chapiro
09/14/2008 9:06 AM
post13379
|
Re: How can automated builds be set up with 4.5?
There are hreedifferent schemas I can see on the surface.
1. Using of container projects. This option could be convenient
for those who use a big code base. They could group projects into containers.
Container is a holder of various projects (amoung them could be other
containers as well). THis is a user's decision how to combine projects into container. For example third-party service
libraries could be assembled in
one container. Each container has a set of different build
configurations (this is almost the same as assigning make targets such as debug, release
etc.). To build the whole workspace they could just launch a root container
build specifying configuration This structure should be mirrored into command
line build. To provide this, insert special make file into top
container's root directory The content looks like that:
<configuration_1> :
cd ../Child_Container_1/... ; make<target name>
cd ...
...
cd ../Child_Project_k/...,make<target name>
...
<configuration_n> :
Launching make for the top container Makefile cause the built of whole
configuration. Please take in account that trying to be reasonably boring I
skip some less important issues from this description.
2. Using of mksbp utility (yes it is still there:-)
3. Using regular make files. They are still available, but I'd
postpone observation to my next message.
Chris Foran wrote:
> What is the recommended way to set up an automated build? For example, a cron job type of thing where the system
kicks off a nightly build.
>
> In 4.0.1, a Standard Make project could be used, and the system could simply be instructed to call 'make' on the
required makefile. What is the new way to do this?
>
> Thanks,
>
> --Chris Foran
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post13371
>
>
|
|
|