|
Subject: Re: Install rule Newsgroups: gmane.comp.lib.boost.build Date: 2006-06-05 12:40:34 GMT (2 years, 18 weeks, 2 days, 5 hours and 45 minutes ago) Kostas Kostiadis wrote: > Hello all, > > Googling around at the weekend I found out the ms10 was ancient, so I got > the nightly build and discovered that the install rule will do almost > exactly what I wanted for my distro...That's the good news :) > > However, there is still the issue of renaming the final target. > Is there a way to do something like > > PROJ_NAME = hello ; > > Install bin : $(PROJ_NAME) > : <variant>debug:<name>$(PROJ_NAME)_d > : <variant>release:<name>$(PROJ_NAME)_r > ; > > > I know you can do things like <variant>release:<location>bin/release, but > it's quite important that my executables live in the same place. > (BTW, this doesn't have to be part of the install rule. If there is a way > to build the targets like that in the first place, that's even better). > You can use the <tag> feature on your "exe" (and "lib", if you need it) rules. This may be more complicated than you need, though. |
|
|