[Kde-bindings] KDE/kdebindings/smoke/qt
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon May 11 17:29:48 UTC 2009
SVN commit 966666 by rdale:
* Replace the perl based tests for features in the installed Qt build with cmake based ones.
* Thanks to David Palacio for developing the code.
* Todo: similar tests are also needed for Phonon
capabilities.
CCMAIL: kde-bindings at kde.org
M +2 -6 CMakeLists.txt
A QtGuess.txt
D qtguess.pl.cmake
A tests (directory)
A tests/CMakeLists.txt
A tests/test.cpp [License: UNKNOWN]
--- trunk/KDE/kdebindings/smoke/qt/CMakeLists.txt #966665:966666
@@ -13,8 +13,7 @@
set(qt_test_threshold 10)
endif (APPLE)
-# macro is defined in qt-copy/src/qbase.pri but couldn't be found by qtguess, so I append it manually
-file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/../qtdefines "QT_NO_CAST_TO_ASCII\n")
+include(QtGuess.txt)
########### next target ###############
@@ -40,9 +39,6 @@
${CMAKE_CURRENT_BINARY_DIR}/x_19.cpp
${CMAKE_CURRENT_BINARY_DIR}/x_20.cpp
- COMMAND ${PERL_EXECUTABLE} ARGS ${CMAKE_CURRENT_BINARY_DIR}/qtguess.pl
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qtguess.pl
-
COMMAND ${PERL_EXECUTABLE} ARGS ${CMAKE_CURRENT_BINARY_DIR}/generate.pl
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/generate.pl
@@ -124,5 +120,5 @@
install(TARGETS smokeqt DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} )
install(FILES ${CMAKE_SOURCE_DIR}/smoke/qt_smoke.h DESTINATION include/smoke)
-configure_file(qtguess.pl.cmake ${CMAKE_CURRENT_BINARY_DIR}/qtguess.pl @ONLY)
+# configure_file(qtguess.pl.cmake ${CMAKE_CURRENT_BINARY_DIR}/qtguess.pl @ONLY)
configure_file(generate.pl.cmake ${CMAKE_CURRENT_BINARY_DIR}/generate.pl @ONLY )
More information about the Kde-bindings
mailing list