diff options
Diffstat (limited to 'kturtle/src/CMakeLists.txt')
-rw-r--r-- | kturtle/src/CMakeLists.txt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/kturtle/src/CMakeLists.txt b/kturtle/src/CMakeLists.txt new file mode 100644 index 00000000..47402ed6 --- /dev/null +++ b/kturtle/src/CMakeLists.txt @@ -0,0 +1,72 @@ +add_subdirectory( pics ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kturtle (executable) + +tde_add_executable( kturtle AUTOMOC + + SOURCES + main.cpp + kturtle.cpp + canvas.cpp + dialogs.cpp + value.cpp + lexer.cpp + parser.cpp + executer.cpp + treenode.cpp + token.cpp + translate.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdeparts-shared + katepartinterfaces-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + +set_property( + SOURCE canvas.cpp lexer.cpp translate.cpp + APPEND PROPERTY OBJECT_DEPENDS + ${CMAKE_BINARY_DIR}/kturtle/src/settings.cpp +) + + +##### icons + +tde_install_icons( kturtle ) + + +##### other data + +install( + FILES kturtleui.rc + DESTINATION ${DATA_INSTALL_DIR}/kturtle +) + +install( + FILES kturtle.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kturtle.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) |