On Mon, Apr 27, 2009 at 03:33:39PM +0200, Marcel Loose wrote:
> Now, suppose there's some generic target (e.g. 'check') that I would
> like to be defined for each of these projects, such that I can do
> 
>   $ cd /path/to/build/directory/bigproject && make check
> 
> but also
> 
>   $ cd /path/to/build/directory/bigproject/subproject_1 && make check

I'm not sure what you mean by "some generic target". What would your
hypothetical check target do in bigproject and in subproject_1?

I think I would solve a problem like this with a macro or function
defined in a file included by each of your projects, but I don't really
understand the problem.

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