mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-13 19:19:33 +00:00
Now possible to build only required plugins and skip all others. Also can get fail if required plugins can't be built. By default will be build all possible plugins. New cmake cache variables: ENABLE_PLUGINS - list plugins to build (botan;ossl;gnupg for example). Also possible values is none, auto or all (by default: "auto") WITH_${PLUGIN}_PLUGIN - to build particular plugin. Can be no, yes or auto (WITH_ossl_PLUGIN=auto for example)
18 lines
573 B
CMake
18 lines
573 B
CMake
# qca-logger
|
|
|
|
set(WITH_logger_PLUGIN "yes" PARENT_SCOPE)
|
|
set(QCA_LOGGER_SOURCES qca-logger.cpp)
|
|
my_automoc( QCA_LOGGER_SOURCES )
|
|
|
|
add_library(qca-logger MODULE ${QCA_LOGGER_SOURCES})
|
|
|
|
add_definitions(${LOGGERH_DEFINITIONS})
|
|
include_directories(${LOGGERH_INCLUDE_DIR})
|
|
target_link_libraries(qca-logger ${QT_QTCORE_LIBRARY})
|
|
target_link_libraries(qca-logger ${QCA_LIB_NAME})
|
|
|
|
install(TARGETS qca-logger
|
|
LIBRARY DESTINATION "${QCA_PLUGINS_INSTALL_DIR}"
|
|
ARCHIVE DESTINATION "${QCA_PLUGINS_INSTALL_DIR}"
|
|
RUNTIME DESTINATION "${QCA_PLUGINS_INSTALL_DIR}")
|