On 01/12/2011 02:16 PM, Alexey Livshits wrote:
> As I mentioned above, there are targets foo1 and foo2, build from foo
> sources, and the output name has to be foo. This is the conflict. The
> test depends from foo1 and bar2.
> 
>> If you don't explain the problem more clearly, people won't be able to
>> help you; particularly because I suspect that you are asking the wrong
>> question...
> 
> Well, my question was very clear imho, I just wanted to know, how to
> determine the path. In fact I'm looking for a better approach how to
> organize my project, but this is not the point here.
> 

Well, if you don't want any help fixing the real problem, then the
answer is simple: CMake can't possibly give you that information because
of DESTDIR.

So, go and fix your project.


Michael
_______________________________________________
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