[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie: howto share modules
From: |
Pierre Asselin |
Subject: |
Re: Newbie: howto share modules |
Date: |
17 Feb 2002 19:59:07 -0600 |
Syver Enstad <address@hidden> writes:
>I have a subproject in CVS (a directory in a module)
>where I want to have some other subprojects from CVS as
>subdirectories.
>Let's say we have:
>The following structure:
>(C++ is the root module)
>C++/Applications/MyApp
>C++/Libraries/TheFirstLib
>C++/Libraries/TheSecondLib
>C++/Libraries/OtherLibs
>...
>Where I want to have
>C++/Applications/MyApp/TheFirstLib
>C++/Applications/MyApp/TheSecondLib
I'll assume you want to check out only MyApp and the two libraries.
Put something like this in your modules file:
TheFirstLib C++/Libraries/TheFirstLib
TheSecondLib C++/Libraries/TheSecondLib
...
Myapp C++/Applications/MyApp &TheFirstLib &TheSecondLib
The first two are straightforward module entries. You can check out
"TheFirstLib" and have it appear in ./TheFirstLib . The third entry
is the application, and it implicitly checks out the two libraries as
submodules. The sandbox looks like this:
./Myapp/
(Myapp files...)
TheFirstLib/
(1st library files...)
TheSecondLib/
(2nd library files...)
--
Pierre Asselin
Westminster, Colorado
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----