You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/kformula/CMakeLists.txt

64 lines
2.0 KiB
CMake

###############################################################################
# Trinity KOffice #
# --------------- #
# This file is licensed under the terms of GNU GPL v3 or later. #
# Improvements and feedback are welcome. #
###############################################################################
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/lib/kofficecore
${CMAKE_SOURCE_DIR}/lib/kofficeui
${CMAKE_SOURCE_DIR}/lib/store
${CMAKE_SOURCE_DIR}/lib/kwmf
${CMAKE_SOURCE_DIR}/lib/kopalette
${CMAKE_SOURCE_DIR}/lib/kformula
${CMAKE_SOURCE_DIR}/lib/kotext
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
### Libraries #################################################################
tde_add_kpart(libkformulapart SHARED AUTOMOC
SOURCES
kfconfig.cpp kformula_doc.cpp kformula_view.cpp kformula_factory.cpp
kformulawidget.cpp kformula_view_iface.skel kformula_view_iface.cpp
formulastring.cpp fsparser.cpp
LINK
tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdeparts-shared
kofficeui-shared kotext-shared kformulalib-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
### Programs ##################################################################
tde_add_tdeinit_executable(kformula AUTOMOC
SOURCES main.cpp
LINK kofficecore-shared
)
### Data ######################################################################
install(
FILES kformula.rc kformula_readonly.rc tips
DESTINATION ${DATA_INSTALL_DIR}/kformula
)
tde_create_translated_desktop(
SOURCE kformula.desktop
PO_DIR koffice-desktops
)
tde_create_translated_desktop(
SOURCE kformulapart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR koffice-desktops
)
add_subdirectory(pics)
# kate: indent-width 2; replace-tabs true;