File: CMakeLists.txt

package info (click to toggle)
libkgapi 18.08.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,064 kB
  • sloc: cpp: 26,405; ansic: 1,206; xml: 142; makefile: 8; sh: 1
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
)