Mercurial > clickerconvert
diff src/xlsx/CMakeLists.txt @ 1:93d3106bb9a4
Add qt xlsx library
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 22 Mar 2016 10:38:08 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/xlsx/CMakeLists.txt Tue Mar 22 10:38:08 2016 +0100 @@ -0,0 +1,49 @@ + +# Copyright (C) 2016 by ETH Zürich +# Software engineering by Intevation GmbH +# +# This file is Free Software under the GNU GPL (v>=2) +# and comes with ABSOLUTELY NO WARRANTY! +# See LICENSE.txt for details. + +set (qtxslx_SRC + xlsxabstractooxmlfile.cpp + xlsxabstractsheet.cpp + xlsxcell.cpp + xlsxcellformula.cpp + xlsxcellrange.cpp + xlsxcellreference.cpp + xlsxchart.cpp + xlsxchartsheet.cpp + xlsxcolor.cpp + xlsxconditionalformatting.cpp + xlsxcontenttypes.cpp + xlsxdatavalidation.cpp + xlsxdocpropsapp.cpp + xlsxdocpropscore.cpp + xlsxdocument.cpp + xlsxdrawinganchor.cpp + xlsxdrawing.cpp + xlsxformat.cpp + xlsxmediafile.cpp + xlsxnumformatparser.cpp + xlsxrelationships.cpp + xlsxrichstring.cpp + xlsxsharedstrings.cpp + xlsxsimpleooxmlfile.cpp + xlsxstyles.cpp + xlsxtheme.cpp + xlsxutility.cpp + xlsxworkbook.cpp + xlsxworksheet.cpp + xlsxzipreader.cpp + xlsxzipwriter.cpp +) +include_directories(${Qt5Gui_INCLUDE_DIRS}) +include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) + +add_library(${PROJECT_NAME}_libqtxslx STATIC ${qtxslx_SRC}) +target_link_libraries(${PROJECT_NAME}_libqtxslx + Qt5::Core + Qt5::Gui +)