~ubuntu-branches/ubuntu/intrepid/kdesdk/intrepid-updates

« back to all changes in this revision

Viewing changes to kapptemplate/templates/C++/kapp4/src/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-05-28 10:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20080528101143-gzc3styjz1b70zxu
Tags: upstream-4.0.80
ImportĀ upstreamĀ versionĀ 4.0.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(%{APPNAMELC}_SRCS
 
2
   %{APPNAMELC}.cpp
 
3
   main.cpp
 
4
   %{APPNAMELC}view.cpp
 
5
 )
 
6
 
 
7
kde4_add_ui_files(%{APPNAMELC}_SRCS %{APPNAMELC}view_base.ui prefs_base.ui)
 
8
 
 
9
kde4_add_kcfg_files(%{APPNAMELC}_SRCS settings.kcfgc )
 
10
 
 
11
kde4_add_executable(%{APPNAMELC} ${%{APPNAMELC}_SRCS})
 
12
 
 
13
target_link_libraries(%{APPNAMELC} ${KDE4_KDEUI_LIBS} )
 
14
 
 
15
install(TARGETS %{APPNAMELC} DESTINATION ${BIN_INSTALL_DIR} )
 
16
 
 
17
 
 
18
########### install files ###############
 
19
 
 
20
install( FILES %{APPNAMELC}.desktop  DESTINATION ${XDG_APPS_INSTALL_DIR} )
 
21
install( FILES %{APPNAMELC}.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
 
22
install( FILES %{APPNAMELC}ui.rc  DESTINATION  ${DATA_INSTALL_DIR}/%{APPNAMELC} )