[CMake] One library with multiple sub-directories

Brad King brad.king at kitware.com
Wed Nov 3 17:29:54 EST 2004


Bradley Lowekamp wrote:

> After hacking at this for a bit I found why my source files were not 
> being built in their respective sub directories.
[snip]
> So is it because I don't have all the object depends files as relative 
> paths that  causes cmake to still build in the top level cmake dir? It 
> seems like cmake may be not so smart when it comes to trying to build in 
> subdirs? Are there any suggestions on how to make it do that here?

Could you please send me a minimal but complete source tree that 
duplicates this problem?  Just send it to me privately to avoid posting 
a tarball to the list.

Thanks,
-Brad



More information about the CMake mailing list