I have a project where I used to include the entire source of gtest and 
gmock, and I'm trying to refactor it so gtest and gmock are treated as 
external projects but still built.  Is this possible?  I'd prefer not to 
add new tupfiles outside of ~/projects/Project.
I also set the option updater.full_deps = 'true' which tracks dependencies 
outside of the project dir, but it doesn't seem to help this case.

So I have:

/usr/src/gtest/src/gtest-all.cc
/usr/src/gmock/src/gmock-all.cc

~/projects/Project
  Tupfile
  *.cc
  *.h

~/projects/Project/Tupfile:
: /usr/src/gtest/src/gtest-all.cc |> !cc |>
: /usr/src/gmock/src/gmock-all.cc |> !cc |>
...

And I'm getting an error from Tup:
tup error: Failed to find directory ID for dir 
'/usr/src/gtest/src/gtest-all.cc' relative to 35
tup error: Error parsing Tupfile line 2
  Line was: ': /usr/src/gtest/src/gtest-all.cc |> !cc |>'

Thanks!

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to