aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules-tests/Xine/CMakeLists.txt12
-rw-r--r--modules-tests/readme.txt6
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