Warning, /education/kturtle/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KTURTLE VERSION_HEADER kturtle_version.h) 0002 0003 0004 qt_add_dbus_adaptor(kturtle_SRCS interpreter/org.kde.kturtle.Interpreter.xml 0005 interpreter/interpreter.h Interpreter) 0006 0007 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kturtle.png") 0008 ecm_add_app_icon(kturtle_SRCS ICONS ${ICONS_SRCS}) 0009 0010 add_executable(kturtle 0011 ) 0012 target_sources(kturtle PRIVATE 0013 ${kturtle_SRCS} 0014 canvas.cpp 0015 canvas.h 0016 colorpicker.cpp 0017 colorpicker.h 0018 console.cpp 0019 console.h 0020 directiondialog.cpp 0021 directiondialog.h 0022 editor.cpp 0023 editor.h 0024 errordialog.cpp 0025 errordialog.h 0026 highlighter.cpp 0027 highlighter.h 0028 inspector.cpp 0029 inspector.h 0030 interpreteradaptor.cpp 0031 interpreteradaptor.h 0032 interpreter/echoer.cpp 0033 interpreter/echoer.h 0034 interpreter/errormsg.cpp 0035 interpreter/errormsg.h 0036 interpreter/executer.cpp 0037 interpreter/executer.h 0038 interpreter/interpreter.cpp 0039 interpreter/interpreter.h 0040 interpreter/parser.cpp 0041 interpreter/parser.h 0042 interpreter/token.cpp 0043 interpreter/token.h 0044 interpreter/tokenizer.cpp 0045 interpreter/tokenizer.h 0046 interpreter/translator.cpp 0047 interpreter/translator.h 0048 interpreter/treenode.cpp 0049 interpreter/treenode.h 0050 interpreter/value.cpp 0051 interpreter/value.h 0052 main.cpp 0053 mainwindow.cpp 0054 mainwindow.h 0055 sprite.cpp 0056 sprite.h 0057 resources.qrc 0058 ) 0059 0060 target_link_libraries(kturtle 0061 KF5::KIOCore 0062 KF5::NewStuffWidgets 0063 KF5::I18n 0064 Qt${QT_MAJOR_VERSION}::Core 0065 Qt${QT_MAJOR_VERSION}::Gui 0066 Qt${QT_MAJOR_VERSION}::Xml 0067 Qt${QT_MAJOR_VERSION}::Svg 0068 Qt${QT_MAJOR_VERSION}::PrintSupport 0069 KF5::TextWidgets 0070 KF5::Crash 0071 KF5::XmlGui 0072 ) 0073 0074 0075 if (QT_MAJOR_VERSION STREQUAL "6") 0076 target_link_libraries(kturtle Qt6::Core5Compat Qt6::SvgWidgets) 0077 endif() 0078 0079 0080 install (TARGETS kturtle ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0081 install (PROGRAMS org.kde.kturtle.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0082 install (FILES kturtleui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kturtle) 0083 install (FILES kturtle.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) 0084