File: CMakeLists.txt

package info (click to toggle)
libqapt 3.0.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,372 kB
  • sloc: cpp: 11,270; makefile: 13; sh: 11
file content (26 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (6)
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(qapttest)
cmake_minimum_required(VERSION 2.6.0)

find_package(KDE4 REQUIRED)
include(FindPkgConfig REQUIRED)
find_package(QApt REQUIRED)
include(KDE4Defaults)

set(qapttest_SRCS
    main.cpp
    qapttest.cpp
    cacheupdatewidget.cpp
    commitwidget.cpp
 )

include( FindPkgConfig )

add_executable(qaptest ${qapttest_SRCS})

target_link_libraries(qaptest ${KDE4_KDEUI_LIBS}
                              ${KDE4_KIO_LIBS}
                              ${QAPT_LIBRARY}
                              DebconfKDE::Main)

install(TARGETS qaptest ${INSTALL_TARGETS_DEFAULT_ARGS} )