Changeset View
Changeset View
Standalone View
Standalone View
src/backends/julia/CMakeLists.txt
1 | include_directories(${Julia_INCLUDE_DIRS}) | ||||
---|---|---|---|---|---|
2 | | ||||
1 | add_subdirectory(juliaserver) | 3 | add_subdirectory(juliaserver) | ||
2 | add_subdirectory(tests) | 4 | add_subdirectory(tests) | ||
3 | 5 | | |||
4 | set(JuliaBackend_SRCS | 6 | set(JuliaBackend_SRCS | ||
5 | juliabackend.cpp | 7 | juliabackend.cpp | ||
6 | juliasession.cpp | 8 | juliasession.cpp | ||
7 | juliaexpression.cpp | 9 | juliaexpression.cpp | ||
8 | juliakeywords.cpp | 10 | juliakeywords.cpp | ||
9 | juliahighlighter.cpp | 11 | juliahighlighter.cpp | ||
10 | juliaextensions.cpp | 12 | juliaextensions.cpp | ||
11 | juliacompletionobject.cpp | 13 | juliacompletionobject.cpp | ||
12 | ) | 14 | ) | ||
13 | 15 | | |||
14 | kconfig_add_kcfg_files(JuliaBackend_SRCS settings.kcfgc) | 16 | kconfig_add_kcfg_files(JuliaBackend_SRCS settings.kcfgc) | ||
15 | ki18n_wrap_ui(JuliaBackend_SRCS settings.ui) | 17 | ki18n_wrap_ui(JuliaBackend_SRCS settings.ui) | ||
16 | 18 | | |||
17 | add_backend(juliabackend ${JuliaBackend_SRCS}) | 19 | add_backend(juliabackend ${JuliaBackend_SRCS}) | ||
18 | 20 | | |||
19 | target_link_libraries(cantor_juliabackend Qt5::DBus) | 21 | target_link_libraries(cantor_juliabackend Qt5::DBus ${Julia_LIBRARY}) | ||
20 | 22 | | |||
21 | install(FILES juliabackend.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | 23 | install(FILES juliabackend.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | ||
22 | install(FILES keywords.xml DESTINATION ${KDE_INSTALL_DATADIR}/cantor/juliabackend) | 24 | install(FILES keywords.xml DESTINATION ${KDE_INSTALL_DATADIR}/cantor/juliabackend) | ||
23 | file(GLOB scripts "${CMAKE_CURRENT_SOURCE_DIR}/scripts/*.jl") | 25 | file(GLOB scripts "${CMAKE_CURRENT_SOURCE_DIR}/scripts/*.jl") | ||
24 | install( | 26 | install( | ||
25 | FILES ${scripts} | 27 | FILES ${scripts} | ||
26 | DESTINATION ${KDE_INSTALL_DATADIR}/cantor/juliabackend/scripts | 28 | DESTINATION ${KDE_INSTALL_DATADIR}/cantor/juliabackend/scripts | ||
27 | ) | 29 | ) |