[Kde-bindings] branches/KDE/4.4/kdebindings/php/phpqt
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Feb 2 16:56:22 UTC 2010
SVN commit 1084178 by rdale:
* Fix the build of the PHPQt unit tests
CCMAIL: kde-bindings at kde.org
M +3 -3 CMakeLists.txt
--- branches/KDE/4.4/kdebindings/php/phpqt/CMakeLists.txt #1084177:1084178
@@ -53,11 +53,11 @@
MESSAGE(STATUS "phpunit found: configuring for tests")
ENABLE_TESTING()
SET(RUNTIME_OUTPUT_DIRECTORY_ORIG)
- SET(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}"/tests/")
+ SET(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}"/tests/")
- CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/tests/config.php.conf ${CMAKE_BUILD_DIR}config.php @ONLY )
+ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/config.php.conf ${CMAKE_BUILD_DIR}config.php @ONLY )
FOREACH(TEST_CASE ${PHPQT_TEST_FILES} )
- CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/tests/${TEST_CASE} ${CMAKE_BUILD_DIR}${TEST_CASE} COPYONLY )
+ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/tests/${TEST_CASE} ${CMAKE_BUILD_DIR}${TEST_CASE} COPYONLY )
ADD_TEST( ${TEST_CASE} ${PHPUNIT_EXECUTABLE} --log-tap ${TEST_CASE}.log ${TEST_CASE} )
MESSAGE(STATUS "added "${TEST_CASE} )
ENDFOREACH(TEST_CASE)
More information about the Kde-bindings
mailing list