~ubuntu-branches/ubuntu/raring/kdevelop-php/raring

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-16 12:04:42 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20120816120442-vlz0zrna32hj7qfi
Tags: 1.3.80-0ubuntu1
* New upstream release
* Make kdevelop-php depend on kdevelop-php-l10n, kdevelop-php-doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set(KDEVPHP_VERSION_MAJOR 1)
4
4
set(KDEVPHP_VERSION_MINOR 3)
5
 
set(KDEVPHP_VERSION_PATCH 1)
 
5
set(KDEVPHP_VERSION_PATCH 80)
6
6
 
7
7
configure_file( "${php_SOURCE_DIR}/kdevphpversion.h.cmake" "${php_BINARY_DIR}/kdevphpversion.h" @ONLY )
8
8
 
15
15
#complain about the FindKDevelop-PG.cmake file not findable.
16
16
find_package(KDE4 REQUIRED)
17
17
 
18
 
find_package(KDevPlatform 1.3.0 REQUIRED)
 
18
find_package(KDevPlatform 1.3.80 REQUIRED)
19
19
include_directories(${KDEVPLATFORM_INCLUDE_DIR})
20
20
 
21
21
include_directories(
67
67
# not writeable so that the refactoring actions get hidden
68
68
install(FILES phpfunctions.php DESTINATION ${DATA_INSTALL_DIR}/kdevphpsupport PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
69
69
 
 
70
set(KDE4_BUILD_TESTS "ON" CACHE "BOOL" "Enable building of tests" FORCE )
 
71
 
 
72
include(CTest)
 
73
 
 
74
# CTestCustom.cmake has to be in the CTEST_BINARY_DIR.
 
75
# in the KDE build system, this is the same as CMAKE_BINARY_DIR.
 
76
configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake ${CMAKE_BINARY_DIR}/CTestCustom.cmake)
 
77
 
70
78
include(MacroOptionalAddSubdirectory)
71
79
macro_optional_add_subdirectory( po )