Warning, /office/calligra/libs/textlayout/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories(${TEXTLAYOUT_INCLUDES})
0002 
0003 if(BUILD_TESTING)
0004     add_subdirectory( tests )
0005 endif()
0006 
0007 ########### next target ###############
0008 set(textlayout_LIB_SRCS
0009     KoTextLayoutCellHelper.cpp
0010     KoTextLayoutArea.cpp
0011     KoTextLayoutArea_paint.cpp
0012     KoTextLayoutEndNotesArea.cpp
0013     KoTextLayoutTableArea.cpp
0014     KoTextLayoutNoteArea.cpp
0015     KoTextLayoutRootArea.cpp
0016     KoTextLayoutRootAreaProvider.cpp
0017     KoTextDocumentLayout.cpp
0018     ListItemsHelper.cpp
0019     KoTextShapeContainerModel.cpp
0020     RunAroundHelper.cpp
0021     KoTextLayoutObstruction.cpp
0022     FrameIterator.cpp
0023     TableIterator.cpp
0024     KoPointedAt.cpp
0025     KoTextShapeData.cpp
0026     FloatingAnchorStrategy.cpp
0027     InlineAnchorStrategy.cpp
0028     AnchorStrategy.cpp
0029     ToCGenerator.cpp
0030     DummyDocumentLayout.cpp
0031     IndexGeneratorManager.cpp
0032     KoStyleThumbnailer.cpp
0033     TextLayoutDebug.cpp
0034 )
0035 
0036 
0037 add_library(kotextlayout SHARED ${textlayout_LIB_SRCS})
0038 generate_export_header(kotextlayout BASE_NAME kotextlayout)
0039 
0040 target_link_libraries(kotextlayout
0041     PUBLIC
0042         kotext
0043 )
0044 
0045 set_target_properties(kotextlayout PROPERTIES
0046    VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
0047 )
0048 install(TARGETS kotextlayout  ${INSTALL_TARGETS_DEFAULT_ARGS})
0049 
0050 if (SHOULD_BUILD_DEVEL_HEADERS)
0051 
0052 install(
0053     FILES
0054     KoTextDocumentLayout.h
0055     KoTextLayoutArea.h
0056     KoTextLayoutRootArea.h
0057     KoTextShapeData.h
0058     KoPointedAt.h
0059     KoStyleThumbnailer.h
0060     DESTINATION
0061     ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel
0062 )
0063 
0064 endif()