Problem with cmake+kde
Laurent Montel
montel at kde.org
Mon Mar 13 22:16:37 CET 2006
On Monday 13 March 2006 21:38, Brad King wrote:
> Laurent Montel wrote:
> > Into kdepim/akregator:
> >
> > find -name article.cpp
> > ./src/librss/article.cpp
> > ./src/article.cpp
> >
> > set(librsslocal_SRCS
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/article.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/document.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/image.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/textinput.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/tools_p.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/loader.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/enclosure.cpp
> > ${CMAKE_SOURCE_DIR}/akregator/src/librss/category.cpp
> > )
> >
> > set(akregatorprivate_LIB_SRCS ${librsslocal_SRCS}
> > articlefilter.cpp
> > aboutdata.cpp
> > trayicon.cpp
> > article.cpp
> > feed.cpp
> >
> > pwd:
> > kdepim/akregator/src
> >
> > Warning: Source file "article.cpp" is listed multiple times for target
> > "akregatorprivate"
> >
> > I use cmake - 2.3.3-0.20060210
>
> Okay, the difference between this and your original example is that the
> subdirectory source is specified by a full path instead of a relative
> path. I've fixed the problem in CVS CMake.
Great.
Thanks a lot.
> -Brad
More information about the Kde-buildsystem
mailing list