diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-16 16:47:43 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-16 16:47:43 +0000 |
commit | 1e0f7b9bfdf023838b0157ca11fdb65d476e7818 (patch) | |
tree | 51139fc34dc3add5b26ab97964d96aacf0bfb16a /modules-tests/RunAllModuleTests.cmake | |
parent | f5a97932d02a33bb9c78c7aae074a9cc86cc73aa (diff) | |
download | extra-cmake-modules-1e0f7b9bfdf023838b0157ca11fdb65d476e7818.tar.gz extra-cmake-modules-1e0f7b9bfdf023838b0157ca11fdb65d476e7818.tar.bz2 |
test the modules one with and once without pkg-config
Alex
svn path=/trunk/KDE/kdelibs/; revision=885115
Diffstat (limited to 'modules-tests/RunAllModuleTests.cmake')
-rw-r--r-- | modules-tests/RunAllModuleTests.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules-tests/RunAllModuleTests.cmake b/modules-tests/RunAllModuleTests.cmake index 9b58959c..31198c50 100644 --- a/modules-tests/RunAllModuleTests.cmake +++ b/modules-tests/RunAllModuleTests.cmake @@ -14,6 +14,14 @@ function(execute_one_test name) file(MAKE_DIRECTORY "${workingDir}") execute_process(COMMAND ${CMAKE_COMMAND} "${currentDir}/${name}" WORKING_DIRECTORY "${workingDir}") + # now the same with pkg-config disabled + set(workingDir "${currentDir}/${name}/build-no-pkgconfig") + if(CLEAN_DIRS) + file(REMOVE_RECURSE "${workingDir}") + endif(CLEAN_DIRS) + file(MAKE_DIRECTORY "${workingDir}") + execute_process(COMMAND ${CMAKE_COMMAND} -DPKG_CONFIG_EXECUTABLE=echo "${currentDir}/${name}" + WORKING_DIRECTORY "${workingDir}") endfunction(execute_one_test) execute_one_test(Blitz) |