~ubuntu-branches/ubuntu/raring/kdepim/raring-proposed

« back to all changes in this revision

Viewing changes to ktnef/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-07 07:56:38 UTC
  • mfrom: (0.2.27)
  • Revision ID: package-import@ubuntu.com-20120607075638-0luhdq11z7sgvs4m
Tags: 4:4.8.80-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(ktnef)
 
2
 
 
3
include(TestBigEndian)
 
4
test_big_endian(CMAKE_WORDS_BIGENDIAN)
 
5
configure_file(config-ktnef.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ktnef.h)
 
6
 
 
7
add_subdirectory(pics)
 
8
 
 
9
set(ktnef_SRCS
 
10
  attachpropertydialog.cpp
 
11
  ktnefmain.cpp
 
12
  ktnefview.cpp
 
13
  main.cpp
 
14
  messagepropertydialog.cpp
 
15
  qwmf.cpp
 
16
)
 
17
 
 
18
kde4_add_ui_files(ktnef_SRCS attachpropertydialogbase.ui)
 
19
 
 
20
kde4_add_executable(ktnef ${ktnef_SRCS})
 
21
target_link_libraries(ktnef ${KDEPIMLIBS_KTNEF_LIBS} ${KDE4_KIO_LIBS})
 
22
 
 
23
install(TARGETS ktnef ${INSTALL_TARGETS_DEFAULT_ARGS})
 
24
 
 
25
install(PROGRAMS ktnef.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
 
26
 
 
27
install(FILES ktnefui.rc DESTINATION ${DATA_INSTALL_DIR}/ktnef)
 
28