############################################################################### # 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;