List Info

Thread: Is it possible to make target feature value-dependent?




Is it possible to make target feature value-dependent?
user name
2007-05-02 05:45:44
Hello,

I have an application consisted of few subprojects. The
application can 
be built in client and admin mode, so I defined feature
named 'mode' to 
handle various build requests. The problem is that one of
subprojects 
can be built only in admin mode. Let's say I have following
directory 
structure:

	project/
	   |
	   +--Jamroot
	   |
	   +--app1/
	   |	|
	   |	`Jamfile
	   |
	   +--app2/
	   |	|
	   |	`Jamfile
	   |
	   +--admin-mode-only/
	   |	|
	   |	`Jamfile

Every Jamfile contains definition for one target. If I
execute 'bjam 
client admin' command in project folder I want admin and
client versions 
of app1 and app2 to be built but only admin version of
admin-mode-only 
appliction. If I execute 'bjam client' command in the same
directory  I 
want app1 and app2 targets to be built and admin-mode-only
target to be 
ignored. Is it possible to do something like that?

Thanks,
Dario

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )