A tree of libraries project
A tree of libraries project
- Subject: A tree of libraries project
- From: Shah Mozumder <email@hidden>
- Date: Sun, 5 Dec 2004 20:14:41 -0500
Hi all,
I am porting a unix based library set to Mac. The libraries are built
on top of each other. I've created a single project ccontaining the
sources for all libraries, with source code in groups, and separate
targets for each library. My question is, how do I build a target that
refers to a previous target library in the project? These are dynamic
libraries.
Example hierarchy:
- MySuperLibrarySet
- Source
- BaseLibrary
- base.h
- base.cpp
- base_1.h
- base_1.cpp
- base_2.h
- base_2.cpp
- MediumLibrary
- medium.h
- medium.cpp
- medium_1.h
- medium_1.cpp
- medium_2.h
- medium_2.cpp
- TopLibrary
- top.h
- top.cpp
- top_1.h
- top_1.cpp
- top_2.h
- top_2.cpp
- Products
- base.dylib
- medium.dylib
- top.dylib
- Targets
- base
- Headers
- base.h
- base_1.h
- base_2.h
- Sources
- base.cpp
- base_1.cpp
- base_2.cpp
- Frameworks & Libraries
- medium
- Headers
- medium.h
- medium_1.h
- medium_2.h
- Sources
- medium.cpp
- medium_1.cpp
- medium_2.cpp
- Frameworks & Libraries
- top
- Headers
- top.h
- top_1.h
- top_2.h
- Sources
- top.cpp
- top_1.cpp
- top_2.ccpp
- Frameworks & Libraries
--
medium.h has an "#include base.h". What do I do? I can compile
base.dylib fine, but medium.dylib stops with undefined symbols errors.
I tried adding base.h to Targets.medium.headers, and base.dylib to
Targets.medium.Frameworks&Libraries, but that didn't seem to help. How
can I get medium.dylib to compile and link with base.dylib?
Eventually I'd like to also build static libraries. Is it the same
process?
-bobby
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden