Changeset View
Changeset View
Standalone View
Standalone View
src/backends/scilab/CMakeLists.txt
Show All 14 Lines | |||||
15 | 15 | | |||
16 | add_backend(scilabbackend ${ScilabBackend_SRCS}) | 16 | add_backend(scilabbackend ${ScilabBackend_SRCS}) | ||
17 | 17 | | |||
18 | target_link_libraries(cantor_scilabbackend | 18 | target_link_libraries(cantor_scilabbackend | ||
19 | KF5::KIOCore | 19 | KF5::KIOCore | ||
20 | KF5::SyntaxHighlighting | 20 | KF5::SyntaxHighlighting | ||
21 | ) | 21 | ) | ||
22 | 22 | | |||
23 | if(BUILD_TESTING) | ||||
24 | add_executable(testscilab testscilab.cpp) | ||||
25 | add_test(NAME testscilab COMMAND testscilab) | ||||
26 | target_link_libraries(testscilab | ||||
27 | Qt5::Test | ||||
28 | cantorlibs | ||||
29 | cantortest | ||||
30 | ) | ||||
31 | endif(BUILD_TESTING) | ||||
32 | | ||||
23 | install(FILES cantor_scilab.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) | 33 | install(FILES cantor_scilab.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) |