~ubuntu-branches/debian/wheezy/komparator/wheezy

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-06-23 09:50:13 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623095013-h2d0h6d9v7vpbt9n
Tags: 1:0.3-1
* New upstream release - KDE 4 port (Closes: #555056, #586829)
  - add epoch to version number
* Switch to dpkg-source 3.0 (quilt) format
* Update debian/control:
  - update build dependencies for KDE 4 port
  - bump Standards-Version to 3.8.4
  - update Homepage
* Rewrite debian/copyright from scratch.
* Update debian/rules: switch to dh usage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(KOMPARATOR4)
 
2
find_package(KDE4 REQUIRED)
 
3
find_package(KDE4Internal REQUIRED)
 
4
 
 
5
# backward compatibility to <= KDE 4.1
 
6
MACRO_ENSURE_VERSION( "4.1.83" ${KDE_VERSION} KDE_VERSION_OK)
 
7
if(NOT KDE_VERSION_OK)
 
8
  macro_optional_find_package(Plasma)
 
9
  macro_log_feature(PLASMA_FOUND "Plasma" "Plasma libraries and header files" "http://plasma.kde.org/" FALSE "" "Plasma is needed for KTorrent Plasmoid")
 
10
else(NOT KDE_VERSION_OK)
 
11
  set(PLASMA_FOUND true)
 
12
  set(PLASMA_LIBS ${KDE4_PLASMA_LIBS})
 
13
endif(NOT KDE_VERSION_OK)
 
14
 
 
15
# set some default settings
 
16
include(KDE4Defaults)
 
17
 
 
18
# make some more macros available
 
19
include (MacroLibrary)
 
20
#
 
21
# checks for functions and stuff
 
22
#
 
23
include(CheckIncludeFiles)
 
24
include(CheckFunctionExists)
 
25
include(CheckTypeSize) #XFS
 
26
 
 
27
 
 
28
# according to http://www.cmake.org/pipermail/cmake/2008-June/022381.html
 
29
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
 
30
add_definitions( ${KDE4_DEFINITIONS} )
 
31
 
 
32
include_directories( ${KDE4_INCLUDES}
 
33
   ${KOMPARATOR4_BINARY_DIR}
 
34
   ${KOMPARATOR4_BINARY_DIR}/src
 
35
   )
 
36
 
 
37
add_subdirectory(src)
 
38
add_subdirectory(doc)
 
39
 
 
40
# --- show log ---
 
41
macro_display_feature_log()
 
42
 
 
43
#find_package(Msgfmt REQUIRED)
 
44
find_package(Gettext REQUIRED)
 
45
add_subdirectory( po )