Warning, /libraries/atcore/src/plugins/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: AtCore Authors
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 set(RepetierPlugin_SRCS repetierplugin.cpp)
0005 add_library(repetier SHARED ${RepetierPlugin_SRCS})
0006 target_link_libraries(repetier Qt::Core AtCore::AtCore)
0007 
0008 set(GrblPlugin_SRCS grblplugin.cpp)
0009 add_library(grbl SHARED ${GrblPlugin_SRCS})
0010 target_link_libraries(grbl Qt::Core AtCore::AtCore)
0011 
0012 set(TeacupPlugin_SRCS teacupplugin.cpp)
0013 add_library(teacup SHARED ${TeacupPlugin_SRCS})
0014 target_link_libraries(teacup Qt::Core AtCore::AtCore)
0015 
0016 set(MarlinPlugin_SRCS marlinplugin.cpp)
0017 add_library(marlin SHARED ${MarlinPlugin_SRCS})
0018 target_link_libraries(marlin Qt::Core AtCore::AtCore)
0019 
0020 set(SprinterPlugin_SRCS sprinterplugin.cpp)
0021 add_library(sprinter SHARED ${SprinterPlugin_SRCS})
0022 target_link_libraries(sprinter Qt::Core AtCore::AtCore)
0023 
0024 set(AprinterPlugin_SRCS aprinterplugin.cpp)
0025 add_library(aprinter SHARED ${AprinterPlugin_SRCS})
0026 target_link_libraries(aprinter Qt::Core AtCore::AtCore)
0027 
0028 
0029 set(SmoothiePlugin_SRCS smoothieplugin.cpp)
0030 add_library(smoothie SHARED ${SmoothiePlugin_SRCS})
0031 target_link_libraries(smoothie Qt::Core AtCore::AtCore)
0032 
0033 if(DEPLOY_PLUGINS_WITH_BINARY)
0034     install(
0035     TARGETS
0036         repetier
0037         grbl
0038         teacup
0039         marlin
0040         sprinter
0041         aprinter
0042         smoothie
0043     DESTINATION
0044         bin/plugins
0045     )
0046 
0047 else (NOT DEPLOY_PLUGINS_WITH_BINARY)
0048     install(
0049     TARGETS
0050         repetier
0051         grbl
0052         teacup
0053         marlin
0054         sprinter
0055         aprinter
0056         smoothie
0057     DESTINATION
0058         ${KDE_INSTALL_PLUGINDIR}/AtCore
0059     )
0060 endif()