diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 00:04:56 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 00:16:43 +0300 |
commit | 28f28e0af6f7a49a651e28afd3c951c022c58b06 (patch) | |
tree | 2dcae47d3464b975c7e48a0f6a7deabaf46ad429 /lib/kformula/CMakeLists.txt | |
parent | a616663e125e9f6f2966ee85e7b37ebc85eb2967 (diff) | |
download | koffice-28f28e0af6f7a49a651e28afd3c951c022c58b06.tar.gz koffice-28f28e0af6f7a49a651e28afd3c951c022c58b06.zip |
WIP: CMake portfeat/cmake-port
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'lib/kformula/CMakeLists.txt')
-rw-r--r-- | lib/kformula/CMakeLists.txt | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/lib/kformula/CMakeLists.txt b/lib/kformula/CMakeLists.txt new file mode 100644 index 00000000..ee3df6cc --- /dev/null +++ b/lib/kformula/CMakeLists.txt @@ -0,0 +1,70 @@ +############################################################################### +# 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/kotext + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +### Libraries ################################################################# +# We have to name it kformulalib, not just kformula, since that's the name of +# the tdeinit module for kformula. +tde_add_library(kformulalib SHARED AUTOMOC + SOURCES + basicelement.cpp contextstyle.cpp formulacursor.cpp + formulaelement.cpp indexelement.cpp kformulacontainer.cpp + sequenceelement.cpp textelement.cpp bracketelement.cpp + matrixelement.cpp fractionelement.cpp rootelement.cpp symbolelement.cpp + kformulacommand.cpp kformulamimesource.cpp + MatrixDialog.cpp sequenceparser.cpp elementtype.cpp kformuladocument.cpp + symboltable.cpp kformulainputfilter.cpp kformulaview.cpp + spaceelement.cpp kformulaconfigpage.cpp + symbolaction.cpp fontstyle.cpp creationstrategy.cpp + oasiscreationstrategy.cpp tokenstyleelement.cpp tokenelement.cpp + identifierelement.cpp operatorelement.cpp glyphelement.cpp styleelement.cpp + stringelement.cpp paddedelement.cpp errorelement.cpp phantomelement.cpp + actionelement.cpp encloseelement.cpp entities.cpp operatordictionary.cpp + numberelement.cpp + LINK tdeui-shared kotext-shared + DESTINATION ${LIB_INSTALL_DIR} +) + +### Programs ################################################################## +if (BUILD_TESTS) + tde_add_executable(koformulatest AUTOMOC + SOURCES main.cpp kformulawidget.cpp + LINK kformulalib-shared + ) +endif() + +### Headers ################################################################### +# install( +# FILES +# kformulacontainer.h kformuladocument.h kformulaview.h +# kformuladefs.h kformulaconfigpage.h +# DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice +# ) + +### Data ###################################################################### +add_subdirectory(pics) +add_subdirectory(fonts) +add_subdirectory(dtd) + +# kate: indent-width 2; replace-tabs true;
\ No newline at end of file |