CMakeLists.txt 569 Bytes
Newer Older
Frank Osterfeld's avatar
Frank Osterfeld committed
1 2 3
project(kgpgconf)

include_directories( ${CMAKE_SOURCE_DIR}/libkleo/backends/qgpgme )
Marc Mutz's avatar
Marc Mutz committed
4
add_definitions ( ${KDE4_ENABLE_EXCEPTIONS} -D_ASSUAN_ONLY_GPG_ERRORS -UQT_NO_STL -DKDE_DEFAULT_DEBUG_AREA=5154 )
Frank Osterfeld's avatar
Frank Osterfeld committed
5 6

set(_kgpgconf_SRCS
7
    configreader.cpp
8
    configwriter.cpp
9
    configuration.cpp
Frank Osterfeld's avatar
Frank Osterfeld committed
10
    exception.cpp
Frank Osterfeld's avatar
Frank Osterfeld committed
11 12 13 14 15 16 17
    main.cpp
    mainwindow.cpp
)

kde4_add_ui_files( _kgpgconf_SRCS mainwidget.ui )

kde4_add_executable(kgpgconf ${_kgpgconf_SRCS} )
18
target_link_libraries(kgpgconf ${QGPGME_LIBRARIES} ${KDE4_KDEUI_LIBS} )
Frank Osterfeld's avatar
Frank Osterfeld committed
19 20 21

install(TARGETS kgpgconf DESTINATION ${BIN_INSTALL_DIR} )