Sorry for the late reply. I haven't been working on this for a while.
Thanks for the replies. :)
I'm working on it using file( GLOB .. ) right now.
2008/11/11 Alexander Neundorf <[EMAIL PROTECTED]>
> On Monday 10 November 2008, Eric NOULARD wrote:
> > Le Mon, 10 Nov 2008 16:22:48 +0900,
> ...
>
On Monday 10 November 2008, Eric NOULARD wrote:
> Le Mon, 10 Nov 2008 16:22:48 +0900,
...
> You may try to create your static lib from the top-level CMakeLists.txt
>
> FILE(GLOB_RECURSE SOURCE_FILE_LIST "*.cpp")
> FILE(GLOB_RECURSE HEADER_FILE_LIST "*.h")
> ADD_LIBRARY(whatever STATIC ${SOURCE_FILE
Le Mon, 10 Nov 2008 16:22:48 +0900,
"이명현" <[EMAIL PROTECTED]> a écrit :
> Hi,
> I am working in a system where a static library(archive) is build with
> source files that are distributed among several directories.
>
> CMakeLists.txt
> src /
>
> CMakeLists.txt
> *.cpp files
> src1/
>
> CMakeList
Hi,
I am working in a system where a static library(archive) is build with
source files that are distributed among several directories.
CMakeLists.txt
src /
CMakeLists.txt
*.cpp files
src1/
CMakeLists.txt
*.cpp files
src2/
CMakeLists.txt
*.cpp files
In this setting, I wish to build a static