Changeset View
Changeset View
Standalone View
Standalone View
src/backends/maxima/CMakeLists.txt
Show All 12 Lines | |||||
13 | kconfig_add_kcfg_files(MaximaBackend_SRCS settings.kcfgc) | 13 | kconfig_add_kcfg_files(MaximaBackend_SRCS settings.kcfgc) | ||
14 | install(FILES maximabackend.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | 14 | install(FILES maximabackend.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | ||
15 | 15 | | |||
16 | ki18n_wrap_ui(MaximaBackend_SRCS settings.ui) | 16 | ki18n_wrap_ui(MaximaBackend_SRCS settings.ui) | ||
17 | 17 | | |||
18 | add_backend(maximabackend ${MaximaBackend_SRCS}) | 18 | add_backend(maximabackend ${MaximaBackend_SRCS}) | ||
19 | 19 | | |||
20 | if(NOT WIN32) | 20 | if(NOT WIN32) | ||
21 | target_link_libraries(cantor_maximabackend KF5::Pty) | 21 | target_link_libraries(cantor_maximabackend KF5::Pty KF5::SyntaxHighlighting) | ||
22 | endif(NOT WIN32) | 22 | endif(NOT WIN32) | ||
23 | 23 | | |||
24 | if(BUILD_TESTING) | 24 | if(BUILD_TESTING) | ||
25 | add_executable( testmaxima testmaxima.cpp) | 25 | add_executable( testmaxima testmaxima.cpp) | ||
26 | add_test(NAME testmaxima COMMAND testmaxima) | 26 | add_test(NAME testmaxima COMMAND testmaxima) | ||
27 | target_link_libraries( testmaxima | 27 | target_link_libraries( testmaxima | ||
28 | Qt5::Test | 28 | Qt5::Test | ||
29 | cantorlibs | 29 | cantorlibs | ||
30 | cantortest | 30 | cantortest | ||
31 | ) | 31 | ) | ||
32 | endif() | 32 | endif() | ||
33 | 33 | | |||
34 | install( FILES cantor_maxima.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} ) | 34 | install( FILES cantor_maxima.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} ) | ||
35 | install( FILES cantor-initmaxima.lisp DESTINATION ${KDE_INSTALL_DATADIR}/cantor/maximabackend) | 35 | install( FILES cantor-initmaxima.lisp DESTINATION ${KDE_INSTALL_DATADIR}/cantor/maximabackend) |