How to build only a subset of targets under a directory

Jay West <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CALwuoc1Pdhi-YrYtk=MzKu2pLisMDdkWxQPmt6JjiwD0Y6E3pw@mail.gmail.com>
Is there a way to build only a subset of targets under a directory, instead
of all targets under that directory?

For example:

top/aa
  Alias('bin', bin_a)
  Alias ('test', test_a)
top/bb
  Alias('bin', bin_b)
  Alias ('test', test_b)

scons top/aa # builds bin_a and test_a
scons bin # builds bin_a and bin_b

I want to do something like:
cd top/aa; scons bin # build only bin_a

I know that I can define more aliases, but doing so is a maintenance
headache.  Is there better way?

Thanks,

Jay

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.