diff options
Diffstat (limited to 'modules-tests')
| -rw-r--r-- | modules-tests/FFmpeg/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | modules-tests/RunAllModuleTests.cmake | 5 | 
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  | 
