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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to