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

0001 include_directories( ${VECTORIMAGE_INCLUDES}  )
0002 
0003 set(vectorimage_LIB_SRCS    
0004     libemf/EmfRecords.cpp
0005     libemf/EmfObjects.cpp
0006     libemf/EmfHeader.cpp
0007     libemf/BitmapHeader.cpp
0008     libemf/Bitmap.cpp
0009     libemf/EmfParser.cpp
0010     libemf/EmfOutput.cpp
0011     libemf/EmfOutputPainterStrategy.cpp
0012 
0013     libsvm/SvmStructs.cpp
0014     libsvm/SvmGraphicsContext.cpp
0015     libsvm/SvmParser.cpp
0016     libsvm/SvmPainterBackend.cpp
0017     
0018     libwmf/WmfStack.cpp
0019     libwmf/WmfDeviceContext.cpp
0020     libwmf/WmfParser.cpp 
0021     libwmf/WmfAbstractBackend.cpp 
0022     libwmf/WmfPainterBackend.cpp
0023     libwmf/WmfWriter.cpp
0024 
0025     VectorImageDebug.cpp
0026 )
0027 
0028 option(LIBEMF_DEBUG "Enable the kovectorimage emf debug strategy. Usually you'll want to leave this development support option off." OFF)
0029 if(LIBEMF_DEBUG)
0030 set(vectorimage_LIB_SRCS
0031     ${vectorimage_LIB_SRCS}
0032     libemf/EmfOutputDebugStrategy.cpp
0033     )
0034 endif()
0035 
0036 add_library(kovectorimage SHARED ${vectorimage_LIB_SRCS})
0037 generate_export_header(kovectorimage BASE_NAME kovectorimage)
0038 
0039 target_link_libraries(kovectorimage
0040     PUBLIC
0041         Qt5::Gui
0042     PRIVATE
0043         Qt5::PrintSupport
0044 )
0045 
0046 set_target_properties(kovectorimage PROPERTIES
0047     VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
0048 )
0049 if(LIBEMF_DEBUG)
0050     target_compile_definitions(kovectorimage PUBLIC -DLIBEMF_DEBUG=true)
0051 endif()
0052 install(TARGETS kovectorimage ${INSTALL_TARGETS_DEFAULT_ARGS} )