File: CMakeLists.txt

package info (click to toggle)
libkgapi 5.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,784 kB
  • ctags: 3,400
  • sloc: cpp: 23,723; xml: 58; makefile: 5; sh: 1
file content (26 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
project(contacts-example)

kde_enable_exceptions()

include_directories(
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_SOURCE_DIR}/src
    ${CMAKE_BINARY_DIR}
)

set(contacts_example_SRCS main.cpp mainwindow.cpp)
set(contacts_example_HDRS mainwindow.h)
qt5_wrap_ui(contacts_example_SRCS ui/main.ui)

add_executable(contacts-example
        ${contacts_example_SRCS}
        ${contacts_example_HDRS_MOC}
)

target_link_libraries(contacts-example
        KF5::Contacts
        Qt5::Widgets
        Qt5::Core
        KF5::GAPICore
        KF5::GAPIContacts
)