aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-12-22 08:34:00 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-12-22 08:34:00 +0000
commit3d781e4e0c12d4cf1296403d176c416a09f47852 (patch)
tree386e4582c980d48a5f263f9aaebc2c59429fd7fc
parent2bf8819d6bc23ab9b3bedb14a2ab7d1866d2e85e (diff)
downloadextra-cmake-modules-3d781e4e0c12d4cf1296403d176c416a09f47852.tar.gz
extra-cmake-modules-3d781e4e0c12d4cf1296403d176c416a09f47852.tar.bz2
-test FindFFmpeg.cmake
Alex svn path=/trunk/KDE/kdelibs/; revision=900097
-rw-r--r--modules-tests/FFmpeg/CMakeLists.txt5
-rw-r--r--modules-tests/RunAllModuleTests.cmake5
2 files changed, 9 insertions, 1 deletions
diff --git a/modules-tests/FFmpeg/CMakeLists.txt b/modules-tests/FFmpeg/CMakeLists.txt
new file mode 100644
index 00000000..4c93079b
--- /dev/null
+++ b/modules-tests/FFmpeg/CMakeLists.txt
@@ -0,0 +1,5 @@
+include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
+
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
+
+test_find_package(FFmpeg FFMPEG INCLUDE_DIR LIBRARIES DEFINITIONS)
diff --git a/modules-tests/RunAllModuleTests.cmake b/modules-tests/RunAllModuleTests.cmake
index e523227b..d04385bf 100644
--- a/modules-tests/RunAllModuleTests.cmake
+++ b/modules-tests/RunAllModuleTests.cmake
@@ -1,5 +1,7 @@
-# run this script via "cmake -P RunAllModuletests.cmake" to
+# Run this script via "cmake -P RunAllModuletests.cmake" to
# execute all module tests in one go.
+# Run this script with "cmake -DMODULE=foo -P RunAllModuletests.cmake" to
+# test only the one specified module.
# To see only the results and not the other cmake output,
# you can grep for "::".
# To have it delete the previous test build dirs, run it with -DCLEAN_DIRS=TRUE
@@ -31,6 +33,7 @@ else(DEFINED MODULE)
Blitz
BlueZ
Eigen2
+ FFmpeg
Flac
Flex
GObject