[CMake] header-only project for VS2005

Tyler Roscoe tyler at cryptio.net
Wed Apr 29 16:00:07 EDT 2009


On Wed, Apr 29, 2009 at 08:33:56PM +0100, Hicham Mouline wrote:
> The thing is, this is the dir structure for e.g.
> 
> Lib1 (library with source files)
> + cmakelists.txt
> +
> Lib2 (header only, contains template functions, no source files)
> +
> +
>  
> If I add the headers to Lib1' cmakelists.txt, the headers will appear under
> that project Lib1

Ok.

> They reside under directory lib2 and I wish to see them under project
> "Lib2", which not built

What does the (relevant part of the) CMakeLists for lib2 look like?

tyler


More information about the CMake mailing list