Jump to content


Shared libraries


  • Please log in to reply
1 reply to this topic

#1 frodohtx

frodohtx

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 June 2019 - 04:46 PM

I have several libraries that are shared among projects.  Can I share a library folder so that any changes are updated in consumer projects?

For example, consider library source files LIBY and LIBZ.  I want to be able to consume them so that source if projects FOO and BAR so that workspaces would be something like...

-FOO
|-- Libs
|--LIBY
|--LIBZ
-BAR
|-- Libs
|-- LIBY
|-- LIBZ


Any change made in LIBY and LIBZ will be pulled in both workspaces.  I am not sure how to implement this in P4V.

Thank you for your consideration.

#2 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 319 posts

Posted Yesterday, 07:52 PM

Consider using "ditto" mappings.  See "Map a single depot path to multiple locations in a workspace"
https://www.perforce...Highlight=ditto




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users