On 1/8/07, Bill Hoffman <[EMAIL PROTECTED]> wrote:
If you use ADD_SUBDIRECTORY instead of SUBDIRS
it will work as you have it.
-Bill
Ok, thanks for this quick answer, it works like I expected now.
(P.S.: I should have read the man more carefully, since it's written in it.)
__
Julien BIBOLLET wrote:
Hi,
I've simplified a problem I'm encountering:
I have following hierarchie:
|--proj1
|--|--CMakeLists.txt
|--CMakeLists.txt
the proj1/CMakeLists.txt contains:
PROJECT( PROJ1 )
SET( PROJ1_SRCS main.cc )
ADD_LIBRARY( PROJ1 STATIC ${PROJ1_SRCS} )
and the ./CMakeLists.txt co
Hi,
I've simplified a problem I'm encountering:
I have following hierarchie:
|--proj1
|--|--CMakeLists.txt
|--CMakeLists.txt
the proj1/CMakeLists.txt contains:
PROJECT( PROJ1 )
SET( PROJ1_SRCS main.cc )
ADD_LIBRARY( PROJ1 STATIC ${PROJ1_SRCS} )
and the ./CMakeLists.txt contains:
SUBDIRS(proj1)
M