summaryrefslogtreecommitdiffstats
path: root/kapptemplate/CMakeLists.txt
blob: 1be17f9c36c2df12a3135bf3ed908f5edcebea14 (plain)
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
27
28
29
30
31
32
33
34
35
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_subdirectory( admin )
add_subdirectory( appframework )
add_subdirectory( existing )
add_subdirectory( kapp )
add_subdirectory( kpartapp )
add_subdirectory( kpartplugin )


file( READ VERSION VERSION LIMIT_COUNT 1 )
configure_file( kapptemplate.cmake kapptemplate @ONLY )


install( PROGRAMS
    ${CMAKE_CURRENT_BINARY_DIR}/kapptemplate
  DESTINATION ${BIN_INSTALL_DIR} )

install( PROGRAMS
    ${CMAKE_CURRENT_SOURCE_DIR}/mkinstalldirs
  DESTINATION ${DATA_INSTALL_DIR}/kapptemplate/bin )

install( FILES
    kapptemplate.common kapptemplate.module
    kpartplugin.module kpartapp.module existing.module
  DESTINATION ${DATA_INSTALL_DIR}/kapptemplate/include )