Warning, /libraries/qca/plugins/qca-gnupg/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # QCA GnuPG
0002 
0003 enable_plugin("gnupg")
0004 
0005 set(QCA_GNUPG_SOURCES
0006   qca-gnupg.cpp
0007   gpgop.cpp
0008   utils.cpp
0009   gpgproc/sprocess.cpp
0010   mypgpkeycontext.cpp
0011   mykeystoreentry.cpp
0012   myopenpgpcontext.cpp
0013   mykeystorelist.cpp
0014   mymessagecontext.cpp
0015   ringwatch.cpp
0016   lineconverter.cpp
0017   gpgaction.cpp
0018   gpgproc/gpgproc.cpp
0019 )
0020 
0021 set(QCA_GNUPG_HEADERS
0022   gpgaction.h
0023   ringwatch.h
0024   gpgop.h
0025   gpgop_p.h
0026   lineconverter.h
0027   mypgpkeycontext.h
0028   mykeystoreentry.h
0029   mykeystorelist.h
0030   gpgproc/gpgproc_p.h
0031   gpgproc/sprocess.h
0032   gpgproc/gpgproc.h
0033   utils.h
0034   mymessagecontext.h
0035   myopenpgpcontext.h
0036 )
0037 
0038 add_library(qca-gnupg ${PLUGIN_TYPE} ${QCA_GNUPG_SOURCES} ${EXTRA_GNUPG_SOURCES} ${QCA_GNUPG_HEADERS})
0039 
0040 if(APPLE AND ${PLUGIN_TYPE} STREQUAL "MODULE")
0041   set_property(TARGET qca-gnupg PROPERTY SUFFIX ".dylib")
0042 endif()
0043 
0044 include_directories(gpgproc)
0045 target_link_libraries(qca-gnupg Qt${QT_MAJOR_VERSION}::Core ${QCA_LIB_NAME})
0046 
0047 if (WIN32)
0048   target_link_libraries(qca-gnupg advapi32)
0049 endif()
0050 
0051 if(NOT DEVELOPER_MODE)
0052   install(TARGETS qca-gnupg DESTINATION
0053           LIBRARY DESTINATION "${QCA_CRYPTO_INSTALL_DIR}"
0054           ARCHIVE DESTINATION "${QCA_CRYPTO_INSTALL_DIR}"
0055           RUNTIME DESTINATION "${QCA_CRYPTO_INSTALL_DIR}")
0056 
0057   install_pdb(qca-gnupg ${QCA_CRYPTO_INSTALL_DIR})
0058 endif()