2009/1/29 Philip Lowman <phi...@yhbt.com>

>  On Wed, Jan 28, 2009 at 11:49 PM, ankit jain <ankitgu...@gmail.com>wrote:
>
>> Hi philip,
>> Thanks for showing interest my query.
>>
>> Actually i have a folder name myapp. it has two sub folders sub1 and sub2
>> only.
>> these folders have some c files into it. i created the cmakelist file for
>> both the subfolders and with add_library command i created the library for
>> each of the sub folders. in the cmakelist file of myapp folder i add these
>> two sub folders name using add_subdirectory.
>>
>> now i have two libraries created for each of the folders. What i want now
>> is to create a library for the myapp folder which represent the entire
>> folder.
>>
>> since we dont add the add_library command in the cmakelist of myapp folder
>> i want to know how to create the library for the myapp folder.
>>
>> i hope it is clear to u now.
>>
>>
>
> So you want
>
> libA : A/foo.cc
> libB : B/bar.cc
>
> and a 3rd library:
> libC : A/foo.cc B/bar.cc
>
> ?
> This is what iam trying to do


    ankit jain

>
> Please always reply to list as others on-list can help with your query and
> those off-list can learn from it via search engines.
>
> --
> Philip Lowman
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to