summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 26283c2e8f7a995a47d4fd35758ddd5783a59530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SET( rekonq_SRCS
    autosaver.cpp 
    bookmarks.cpp
    browserapplication.cpp 
    browsermainwindow.cpp 
    chasewidget.cpp 
    cookiejar.cpp 
    downloadmanager.cpp 
    edittableview.cpp 
    edittreeview.cpp 
    history.cpp 
    modelmenu.cpp 
    networkaccessmanager.cpp
    searchlineedit.cpp 
    settings.cpp 
    squeezelabel.cpp 
    tabwidget.cpp 
    toolbarsearch.cpp 
    urllineedit.cpp 
    webview.cpp 
    xbel.cpp 
    main.cpp
)

KDE4_ADD_UI_FILES( rekonq_SRCS
    addbookmarkdialog.ui
    bookmarks.ui
    cookies.ui
    cookiesexceptions.ui
    downloaditem.ui
    downloads.ui
    history.ui
    passworddialog.ui
    proxy.ui
    settings.ui
 )

# include(${QT_USE_FILE})

ADD_DEFINITIONS( ${KDE4_DEFINITIONS} )

KDE4_ADD_EXECUTABLE( rekonq ${rekonq_SRCS} )

TARGET_LINK_LIBRARIES( rekonq
    ${QT_LIBRARIES} 
    ${QT_QTNETWORK_LIBRARY}
    ${QT_QTWEBKIT_LIBRARY} 
	${KDE4_KDEUI_LIBS}
    ${QT_QTUITOOLS_LIBRARY}
)

INSTALL( TARGETS rekonq ${INSTALL_TARGETS_DEFAULT_ARGS} )
# install(FILES kekonq.rc DESTINATION ${DATA_INSTALL_DIR}/rekonq)