1
add_subdirectory(plotassistant)
2
project(cantor-qalculate-backend)
4
set(CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS} -Wno-deprecated")
5
add_definitions(${QALCULATE_CFLAGS})
7
set( QalculateBackend_SRCS
8
qalculatesyntaxhelpobject.cpp
11
qalculatehighlighter.cpp
12
qalculateexpression.cpp
13
qalculateextensions.cpp
14
qalculatecompletionobject.cpp
15
qalculateextensions.cpp
19
kde4_add_kcfg_files(QalculateBackend_SRCS settings.kcfgc)
20
install(FILES qalculatebackend.kcfg DESTINATION ${KCFG_INSTALL_DIR})
22
kde4_add_ui_files(QalculateBackend_SRCS settings.ui)
24
kde4_add_plugin( cantor_qalculatebackend ${QalculateBackend_SRCS} )
25
message(STATUS ${CLN_LIBRARIES})
26
target_link_libraries( cantor_qalculatebackend ${KDE4_KDEUI_LIBS} cantorlibs ${QALCULATE_LIBRARIES} ${CLN_LIBRARIES})
28
install( FILES qalculatebackend.desktop DESTINATION ${SERVICES_INSTALL_DIR}/cantor)
29
install(TARGETS cantor_qalculatebackend DESTINATION ${PLUGIN_INSTALL_DIR})