[CMake] Project structure
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Mar 13 13:43:15 EDT 2009
On Friday 13 March 2009, Daniele Galdi wrote:
> Hi,
>
> I have a project structure like this in my cmake project.
>
> project/src/core-lib
> project/src/tool1
> project/src/tool2
> project/src/tool3
>
> the core library is a shared library. Each tool links this lib, what i
> want to achieve is decide
> where install the core-lib in each tool. eg. tool1 install core-lib
> under /usr/lib/tool1, tool2
> will install the core-lib in /usr/lib/tool2 etc...
>
> Is this scenario possibile with cmake?
No, not really.
If this is all within one project, the library will be installed only once.
You can try to setup three separate projects, then they can install to
whereever you want.
Why do you actually want to do that ?
Alex
More information about the CMake
mailing list