← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #240169]: Multiple dependencies in the same large project...?

 

Question #240169 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240169

Doug Barbieri posted a new comment:
RaiMan,

Just in case you are interested, I came up with a solution for my
question. I answer my own question here:

http://stackoverflow.com/questions/20333656/launchpad-net-multiple-
dependencies-in-the-same-large-project

=================================================================
The solution that I discovered on my own was to utilize the recipe command "nest-part," which allows you to take a single folder out of a bzr branch and map it into your project. It cannot, however, map to the root of your branch.

What I did was to create a branch with only packaging information in it,
and a CMakeLists.txt file containing "add_subdirectory(src)". Then I map
from the main code branch (lp:snapcpp), but only the project in
question. For example, here is the recipe for the "controlled_vars"
project in snapcpp:

# bzr-builder format 0.3 deb-version {debupstream}+{revno}
lp:~snapcpp/snapcpp/controlled_vars
nest-part src lp:snapcpp controlled_vars src

There does need to be a branch with packaging information with each sub-
project, but this is a one-time set up issue.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.