Warning, /office/calligra/filters/libmso/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # To hide all the warnings from the generated code 0002 if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUC) 0003 add_definitions(-Wno-sign-compare) 0004 add_definitions(-Wno-unused-variable) 0005 endif () 0006 0007 include_directories( 0008 ${KOODF_INCLUDES} 0009 ${ZLIB_INCLUDE_DIR} 0010 ) 0011 0012 kde_enable_exceptions() 0013 0014 if(NOT MSVC AND NOT (WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")) 0015 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") 0016 endif() 0017 0018 add_library(mso STATIC 0019 generated/simpleParser.cpp 0020 drawstyle.cpp 0021 writer.cpp 0022 ODrawToOdf.cpp 0023 shapes.cpp 0024 shapes2.cpp 0025 pictures.cpp 0026 pole.cpp 0027 MsoUtils.cpp 0028 NumberFormatParser.cpp 0029 ) 0030 target_link_libraries(mso 0031 PUBLIC 0032 koodf 0033 PRIVATE 0034 Qt5::Gui 0035 ${ZLIB_LIBRARIES} 0036 )