mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #25: Basic build settings
This commit is contained in:
104
Pdf4QtLib/CMakeLists.txt
Normal file
104
Pdf4QtLib/CMakeLists.txt
Normal file
@@ -0,0 +1,104 @@
|
||||
# Copyright (C) 2022 Jakub Melka
|
||||
#
|
||||
# This file is part of PDF4QT.
|
||||
#
|
||||
# PDF4QT is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# with the written consent of the copyright owner, any later version.
|
||||
#
|
||||
# PDF4QT is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with PDF4QT. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
add_library(Pdf4QtLib SHARED
|
||||
sources/pdfaction.cpp
|
||||
sources/pdfadvancedtools.cpp
|
||||
sources/pdfalgorithmlcs.cpp
|
||||
sources/pdfannotation.cpp
|
||||
sources/pdfblendfunction.cpp
|
||||
sources/pdfccittfaxdecoder.cpp
|
||||
sources/pdfcertificatemanager.cpp
|
||||
sources/pdfcertificatemanagerdialog.cpp
|
||||
sources/pdfcms.cpp
|
||||
sources/pdfcompiler.cpp
|
||||
sources/pdfcreatecertificatedialog.cpp
|
||||
sources/pdfdiff.cpp
|
||||
sources/pdfdocumentbuilder.cpp
|
||||
sources/pdfdocumentmanipulator.cpp
|
||||
sources/pdfdocumenttextflow.cpp
|
||||
sources/pdfdocumenttextfloweditormodel.cpp
|
||||
sources/pdfdocumentwriter.cpp
|
||||
sources/pdfexecutionpolicy.cpp
|
||||
sources/pdffile.cpp
|
||||
sources/pdfform.cpp
|
||||
sources/pdficontheme.cpp
|
||||
sources/pdfitemmodels.cpp
|
||||
sources/pdfjavascriptscanner.cpp
|
||||
sources/pdfjbig2decoder.cpp
|
||||
sources/pdfmultimedia.cpp
|
||||
sources/pdfobject.cpp
|
||||
sources/pdfobjecteditormodel.cpp
|
||||
sources/pdfobjecteditorwidget.cpp
|
||||
sources/pdfobjectutils.cpp
|
||||
sources/pdfoptimizer.cpp
|
||||
sources/pdfoptionalcontent.cpp
|
||||
sources/pdfoutline.cpp
|
||||
sources/pdfpagecontenteditorstylesettings.cpp
|
||||
sources/pdfpagecontenteditortools.cpp
|
||||
sources/pdfpagecontenteditorwidget.cpp
|
||||
sources/pdfpagecontentelements.cpp
|
||||
sources/pdfpagenavigation.cpp
|
||||
sources/pdfpagetransition.cpp
|
||||
sources/pdfpainterutils.cpp
|
||||
sources/pdfparser.cpp
|
||||
sources/pdfdocument.cpp
|
||||
sources/pdfdocumentreader.cpp
|
||||
sources/pdfpattern.cpp
|
||||
sources/pdfplugin.cpp
|
||||
sources/pdfprogress.cpp
|
||||
sources/pdfredact.cpp
|
||||
sources/pdfsecurityhandler.cpp
|
||||
sources/pdfselectpagesdialog.cpp
|
||||
sources/pdfsignaturehandler.cpp
|
||||
sources/pdfsnapper.cpp
|
||||
sources/pdfstructuretree.cpp
|
||||
sources/pdftexteditpseudowidget.cpp
|
||||
sources/pdftextlayout.cpp
|
||||
sources/pdftransparencyrenderer.cpp
|
||||
sources/pdfutils.cpp
|
||||
sources/pdfwidgettool.cpp
|
||||
sources/pdfwidgetutils.cpp
|
||||
sources/pdfxfaengine.cpp
|
||||
sources/pdfxreftable.cpp
|
||||
sources/pdfvisitor.cpp
|
||||
sources/pdfencoding.cpp
|
||||
sources/pdfcatalog.cpp
|
||||
sources/pdfpage.cpp
|
||||
sources/pdfstreamfilters.cpp
|
||||
sources/pdfdrawspacecontroller.cpp
|
||||
sources/pdfdrawwidget.cpp
|
||||
sources/pdfcolorspaces.cpp
|
||||
sources/pdfrenderer.cpp
|
||||
sources/pdfpagecontentprocessor.cpp
|
||||
sources/pdfpainter.cpp
|
||||
sources/pdfrenderingerrorswidget.cpp
|
||||
sources/pdffunction.cpp
|
||||
sources/pdfnametounicode.cpp
|
||||
sources/pdffont.cpp
|
||||
sources/pdfimage.cpp
|
||||
sources/pdfcertificatemanagerdialog.ui
|
||||
sources/pdfcreatecertificatedialog.ui
|
||||
sources/pdfpagecontenteditorstylesettings.ui
|
||||
sources/pdfpagecontenteditorwidget.ui
|
||||
sources/pdfrenderingerrorswidget.ui
|
||||
sources/pdfselectpagesdialog.ui
|
||||
cmaps.qrc
|
||||
)
|
||||
|
||||
target_link_libraries(Pdf4QtLib PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Xml Qt6::Svg)
|
||||
target_include_directories(Pdf4QtLib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/sources)
|
Reference in New Issue
Block a user