Newbie: Howto convert qmake project to cmake

Aron Boström aron.bostrom at gmail.com
Tue Jul 11 14:30:25 CEST 2006


On 7/11/06, Peter Kümmel <syntheticpp at gmx.net> wrote:
>
> Could you post the cmake file, without it it's hard to help.
> Peter


Yeah, obviously, forgot that ;)

This is the most recent file i tried.

--
project(conversationview)

find_package(KDE4 REQUIRED)
include (KDE4Defaults)
include_directories (${KDE4_KDECORE_INCLUDES} ${QT_INCLUDES})
add_definitions (${KDE4_DEFINITIONS} ${QT_DEFINITIONS})
link_directories (${KDE4_LIBRARIES})

set ( conversationSources
 main.cpp
 message.cpp
 mailview.cpp
 foldermodel.cpp
 dummykonadiadapter.cpp
 conversationdelegate.cpp
 conversation.cpp
)

kde4_automoc( ${conversationSources} )
kde4_add_executable(conversationview ${conversationSources})
target_link_libraries (conversationview ${KDE4_KDECORE_LIBS} )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060711/c38955aa/attachment.html 


More information about the Kde-buildsystem mailing list