~ubuntu-branches/ubuntu/utopic/kdevplatform/utopic-proposed

« back to all changes in this revision

Viewing changes to shell/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark
  • Date: 2014-08-30 03:52:11 UTC
  • mfrom: (0.3.26)
  • Revision ID: package-import@ubuntu.com-20140830035211-wndqlc843eu2v8nk
Tags: 1.7.0-0ubuntu1
* New upstream release
* Add XS-Testsuite: autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    progresswidget/progressdialog.cpp
57
57
 
58
58
    areadisplay.cpp
59
 
 
60
 
# TODO: Re-Enable after generating new kross bindings for project model
61
 
#     kross/krossplugin.cpp
62
 
#     kross/krossbuildsystemmanager.cpp
63
 
#     kross/krossdistributedversioncontrol.cpp
64
 
#     kross/krosstoolviewfactory.cpp
65
 
#     kross/krossvcsjob.cpp
66
 
#     kross/wrappers/krosscontext.cpp
67
 
#     kross/wrappers/krosscontextmenuextension.cpp
68
 
#     kross/wrappers/krossvcsrevision.cpp
69
 
#     kross/wrappers/krossvcslocation.cpp
70
 
#     kross/wrappers/krossprojectmodel.cpp
71
 
# #    kross/wrappers/krossiuicontroller.cpp
72
 
#     kross/wrappers/krossidocument.cpp
73
 
# #    kross/wrappers/krosstopducontext.cpp
74
 
# #    kross/wrappers/krossducontext.cpp
75
 
#     kross/wrappers/krossilanguage.cpp
76
 
# #     kross/wrappers/krossdeclaration.cpp
77
 
# #     kross/wrappers/krossuse.cpp
78
 
#     kross/wrappers/krossidentifier.cpp
79
 
#     kross/wrappers/krossduchainlock.cpp
80
 
#     kross/wrappers/krossiproblem.cpp
81
 
#     kross/wrappers/krossibuildsystemmanager.cpp
82
 
#     kross/wrappers/krossiprojectfilemanager.cpp
83
 
#     kross/wrappers/krossiprojectbuilder.cpp
84
 
#     kross/wrappers/krosseditorcontext.cpp
85
 
#     kross/wrappers/krossqtoolbar.cpp
86
59
)
87
60
 
88
 
if(HAVE_KOMPARE)
89
 
        set(kdevplatformshell_LIB_SRCS ${kdevplatformshell_LIB_SRCS} patchdocument.cpp)
90
 
endif(HAVE_KOMPARE)
91
 
 
92
61
# Check if KTE is new enough to have the EditVIMode view mode flag
93
62
try_compile( HAVE_EDITVIMODE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/testeditvimode.cpp
94
63
             CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${KDE4_INCLUDES}"
106
75
 
107
76
kde4_add_ui_files( kdevplatformshell_LIB_SRCS ${kdevplatformshell_UI} )
108
77
kde4_add_library(kdevplatformshell SHARED ${kdevplatformshell_LIB_SRCS})
109
 
target_link_libraries(kdevplatformshell
110
 
        ${KDE4_KIO_LIBS}
111
 
        ${KDE4_KFILE_LIBS}
112
 
        ${KDE4_KCMUTILS_LIBS}
113
 
        ${KDE4_KPARTS_LIBS}
114
 
        ${KDE4_KNOTIFYCONFIG_LIBS}
115
 
        ${KDE4_KTEXTEDITOR_LIBS}
116
 
        ${KDE4_THREADWEAVER_LIBRARIES}
117
 
        ${KDE4_KROSSCORE_LIBS}
118
 
        kdevplatforminterfaces
119
 
        kdevplatformproject
120
 
        kdevplatformvcs
121
 
        kdevplatformlanguage
122
 
        sublime
123
 
        kdevplatformutil
124
 
        kdevplatformoutputview
125
 
        kdevplatformdebugger
126
 
        kdevplatformdocumentation)
127
 
# need to add kdevplatform* once those are exported targets
128
 
target_link_libraries(kdevplatformshell LINK_INTERFACE_LIBRARIES
129
 
        kdevplatformoutputview
130
 
        sublime
131
 
        kdevplatformdebugger)
 
78
target_link_libraries(kdevplatformshell LINK_PUBLIC
 
79
    sublime
 
80
    kdevplatformoutputview
 
81
    kdevplatformdebugger
 
82
)
 
83
target_link_libraries(kdevplatformshell LINK_PRIVATE
 
84
    ${KDE4_KIO_LIBS}
 
85
    ${KDE4_KFILE_LIBS}
 
86
    ${KDE4_KCMUTILS_LIBS}
 
87
    ${KDE4_KPARTS_LIBS}
 
88
    ${KDE4_KNOTIFYCONFIG_LIBS}
 
89
    ${KDE4_KTEXTEDITOR_LIBS}
 
90
    ${KDE4_THREADWEAVER_LIBRARIES}
 
91
    ${QT_QTDECLARATIVE_LIBRARIES}
 
92
    kdevplatforminterfaces
 
93
    kdevplatformproject
 
94
    kdevplatformvcs
 
95
    kdevplatformlanguage
 
96
    kdevplatformutil
 
97
    kdevplatformdocumentation
 
98
)
132
99
set_target_properties(kdevplatformshell PROPERTIES VERSION ${KDEVPLATFORM_LIB_VERSION} SOVERSION ${KDEVPLATFORM_LIB_SOVERSION})
133
100
 
134
101
install(FILES
161
128
install( FILES debugger/kdevdebuggershellui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdebugger )
162
129
install( FILES kdevsessionui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsession )
163
130
install( FILES kdevsourceformatter.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsourceformatter )
164
 
 
165
 
if(NOT WIN32)
166
 
   macro_optional_add_subdirectory(kross)
167
 
endif(NOT WIN32)
168
 
 
 
131
install( FILES AssistantButton.qml assistantpopup.qml DESTINATION ${DATA_INSTALL_DIR}/kdevelop )