diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-14 20:45:30 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-14 20:45:30 +0000 |
commit | de54277a5fca412232a166928233861106c99f7a (patch) | |
tree | af211ecbc650824be6d353b0939f13b2460c4db7 /modules-tests/Xine | |
parent | edbb4a8a70a894c46be88fa9cb7ef38a6032fcc1 (diff) | |
download | extra-cmake-modules-de54277a5fca412232a166928233861106c99f7a.tar.gz extra-cmake-modules-de54277a5fca412232a166928233861106c99f7a.tar.bz2 |
-add a test for FindQCA2.cmake
-add a macro test_find_package(<package> <prefix> <var_without_prefix1>...<var_without_prefixN>) for executing a mdoule and printing the results
-add cmake script RunAllModuleTests.cmake which can be used to run all existing tests in one go
Alex
svn path=/trunk/KDE/kdelibs/; revision=884395
Diffstat (limited to 'modules-tests/Xine')
-rw-r--r-- | modules-tests/Xine/CMakeLists.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/modules-tests/Xine/CMakeLists.txt b/modules-tests/Xine/CMakeLists.txt index 4fcbbd58..8c2ac6e6 100644 --- a/modules-tests/Xine/CMakeLists.txt +++ b/modules-tests/Xine/CMakeLists.txt @@ -1,12 +1,5 @@ -cmake_minimum_required(VERSION 2.6.2) +include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake") set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" ) -find_package(Xine) - -message(STATUS "XINE_FOUND: \"${XINE_FOUND}\"") -message(STATUS "XINE_VERSION: \"${XINE_VERSION}\"") -message(STATUS "XINE_BUGFIX_VERSION: \"${XINE_BUGFIX_VERSION}\"") -message(STATUS "XINE_INCLUDE_DIR: \"${XINE_INCLUDE_DIR}\"") -message(STATUS "XINE_LIBRARY: \"${XINE_LIBRARY}\"") -message(STATUS "XINE_XCB_FOUND: \"${XINE_XCB_FOUND}\"") +test_find_package(Xine XINE VERSION BUGFIX_VERSION INCLUDE_DIR LIBRARY XCB_FOUND) |