I did experiement a little and found that I could do 

add_library(foo subdir/src1.c)

to include source files under the subdirectory. This is less desirable
(as it make current CMakeLists.txt a little messy) but gets the job done.

Cheers.

Jun

On Fri, Apr 11, 2008 at 05:33:30PM -0700, Jun Sun wrote:
> 
> Is this possible?
> 
> Specifically I like to include some source files in the subdirectories
> to link into a single library. 
> 
> Cheers.
> 
> Jun
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to