~ubuntu-branches/ubuntu/vivid/smb4k/vivid

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2012-05-19 18:54:34 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20120519185434-duffny2n87214n1n
Tags: 1.0.1-1
* New upstream release.
* Update debian/compat: bump to 9.
* Update debian/control:
  - bump debhelper to 9.
  - bump kdelibs5-dev build dependency to 4:4.4.0.
  - bump Standards-Version to 3.9.3 (no changes needed).
  - Replace smbfs dependency by cifs-utils. (Closes: #638162)
* Update debian/copyright:
  - update upstream URL.
  - update upstream e-mail.
* Update debian/smb4k.lintian-overrides file.
* Update debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
project( smb4k )
2
2
 
3
 
set( VERSION 0.10.10 )
4
 
set( VERSION_MAJOR 0 )
5
 
set( VERSION_MINOR 10 )
6
 
set( VERSION_PATCH 10 )
 
3
set( VERSION 1.0.1 )
 
4
set( VERSION_MAJOR 1 )
 
5
set( VERSION_MINOR 0 )
 
6
set( VERSION_PATCH 1 )
7
7
 
8
8
cmake_minimum_required( VERSION 2.6 )
9
9
 
10
 
find_package(KDE4 REQUIRED)
 
10
set( QT_MIN_VERSION 4.7.0 )
 
11
set( KDE_MIN_VERSION 4.4.0 ) 
 
12
find_package( KDE4 REQUIRED )
 
13
find_package( Msgfmt REQUIRED )
 
14
find_package( Gettext REQUIRED )
11
15
 
12
16
include(KDE4Defaults)
13
17
include(MacroLibrary)
31
35
                ${CMAKE_CURRENT_BINARY_DIR}/config.h )
32
36
 
33
37
add_subdirectory( core )
 
38
add_subdirectory( helpers )
34
39
add_subdirectory( smb4k )
35
 
add_subdirectory( utilities )
 
40
add_subdirectory( data )
36
41
add_subdirectory( po )
 
42
add_subdirectory( doc-translations )
37
43
add_subdirectory( doc )
38
 
add_subdirectory( data )
39
 
 
40
 
########### Konqueror plugin ############
41
 
 
42
 
# The decision what to do with the Konqueror plugin has been
43
 
# postponed. It has not been ported to KDE 4 yet, so it is
44
 
# disabled here.
45
 
 
46
 
# option( COMPILE_KONQPLUGIN "Compile Smb4K with Konqueror plugin" OFF )
 
44
 
 
45
########### Header files ################
 
46
 
 
47
option( INSTALL_HEADER_FILES "Install header files" OFF )
 
48
 
 
49
if ( INSTALL_HEADER_FILES )
 
50
  message( STATUS "Installing Smb4K's core header files (-DINSTALL_HEADER_FILES=false to disable)" )
 
51
elseif ( NOT INSTALL_HEADER_FILES )
 
52
  message( STATUS "Not installing Smb4K's core header files (-DINSTALL_HEADER_FILES=true to enable)" )
 
53
endif( INSTALL_HEADER_FILES )
 
54
 
 
55
########### KIO slave ###################
 
56
 
 
57
#option( COMPILE_KIOSLAVE "Compile Smb4K with KIO slave" OFF )
47
58
#
48
 
# if( COMPILE_KONQPLUGIN )
49
 
#   message( STATUS "Building Konqueror plugin (-DCOMPILE_KONQPLUGIN=false to disable)" )
50
 
#   add_subdirectory( plugin )
51
 
# elseif( NOT COMPILE_KONQPLUGIN )
52
 
#   message( STATUS "Building without Konqueror plugin (-DCOMPILE_KONQPLUGIN=true to enable)" )
53
 
# endif( COMPILE_KONQPLUGIN )
 
59
#if ( COMPILE_KIOSLAVE )
 
60
#  message( STATUS "Building with KIO slave (-DCOMPILE_KIOSLAVE=false to disable)" )
 
61
#  add_subdirectory( kioslave )
 
62
#elseif( NOT COMPILE_KIOSLAVE )
 
63
#  message( STATUS "Building without KIO slave (-DCOMPILE_KIOSLAVE=true to enable)" )
 
64
#endif( COMPILE_KIOSLAVE )
54
65
 
55
66
########### install files ###############
56
67
 
67
78
set( CPACK_SOURCE_GENERATOR TBZ2 )
68
79
set( CPACK_SOURCE_IGNORE_FILES
69
80
     "~$"
70
 
     "^${PROJECT_SOURCE_DIR}.*/CVS/"
71
81
     "^${PROJECT_SOURCE_DIR}/Messages.sh"
72
82
     "^${PROJECT_SOURCE_DIR}/po/scripts/"
73
83
     "^${PROJECT_SOURCE_DIR}/*.kdev4" 
 
84
     "^${PROJECT_SOURCE_DIR}.*/.svn/" 
74
85
     "^${PROJECT_SOURCE_DIR}/build/" )
75
86
 
76
87
include( CPack )