From e6c2d5b28014de7748131b879e0ff56d4277b258 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 14 Nov 2008 18:48:27 +0000 Subject: -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 --- modules-tests/Xine/CMakeLists.txt | 12 ++++++++++++ modules-tests/readme.txt | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 modules-tests/Xine/CMakeLists.txt create mode 100644 modules-tests/readme.txt (limited to 'modules-tests') 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 -- cgit v1.2.1