diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-14 18:48:27 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-14 18:48:27 +0000 |
commit | e6c2d5b28014de7748131b879e0ff56d4277b258 (patch) | |
tree | ccbef50800e925aca8ac71229fe4aeb63cf15459 | |
parent | 9b429eb292024c8c5eafb5d052606f0661af7662 (diff) | |
download | extra-cmake-modules-e6c2d5b28014de7748131b879e0ff56d4277b258.tar.gz extra-cmake-modules-e6c2d5b28014de7748131b879e0ff56d4277b258.tar.bz2 |
-add a very simple test for FindXine.cmake, more will follow
They have to be executed manually for now.
Alex
svn path=/trunk/KDE/kdelibs/; revision=884359
-rw-r--r-- | modules-tests/Xine/CMakeLists.txt | 12 | ||||
-rw-r--r-- | modules-tests/readme.txt | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/modules-tests/Xine/CMakeLists.txt b/modules-tests/Xine/CMakeLists.txt new file mode 100644 index 00000000..4fcbbd58 --- /dev/null +++ b/modules-tests/Xine/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 2.6.2) + +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}\"") + diff --git a/modules-tests/readme.txt b/modules-tests/readme.txt new file mode 100644 index 00000000..2fabc9bf --- /dev/null +++ b/modules-tests/readme.txt @@ -0,0 +1,6 @@ +in each of the subdirs here is a simple CMakeLists.txt which does a very +basic test for one of the cmake modules in the modules/ directory. +To run them, create a build directory, run cmake and check the output. +(yes, this can of course be enhanced, but it's better than nothing). + +Alex |