X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=qjson%2Ftests%2Fserializer%2FCMakeLists.txt;fp=qjson%2Ftests%2Fserializer%2FCMakeLists.txt;h=0000000000000000000000000000000000000000;hb=54cb1857146acd8ada989ccbc85540793f654d69;hp=b3e3811da80fffaafe6e40bab87e814e0ad2b5e3;hpb=ffe49fc9cc4e16f1f300e7e2468036d9dd6529b7;p=buliscores diff --git a/qjson/tests/serializer/CMakeLists.txt b/qjson/tests/serializer/CMakeLists.txt deleted file mode 100644 index b3e3811..0000000 --- a/qjson/tests/serializer/CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ -##### Probably don't want to edit below this line ##### - -SET( QT_USE_QTTEST TRUE ) - -# Use it -INCLUDE( ${QT_USE_FILE} ) - -INCLUDE(AddFileDependencies) - -# Include the library include directories, and the current build directory (moc) -INCLUDE_DIRECTORIES( - ../../src - ${CMAKE_CURRENT_BINARY_DIR} -) - -SET( UNIT_TESTS - testserializer -) - -# Build the tests -FOREACH(test ${UNIT_TESTS}) - MESSAGE(STATUS "Building ${test}") - QT4_WRAP_CPP(MOC_SOURCE ${test}.cpp) - ADD_EXECUTABLE( - ${test} - ${test}.cpp - ) - - ADD_FILE_DEPENDENCIES(${test}.cpp ${MOC_SOURCE}) - TARGET_LINK_LIBRARIES( - ${test} - ${QT_LIBRARIES} - qjson - ) - if (QJSON_TEST_OUTPUT STREQUAL "xml") - # produce XML output - add_test( ${test} ${test} -xml -o ${test}.tml ) - else (QJSON_TEST_OUTPUT STREQUAL "xml") - add_test( ${test} ${test} ) - endif (QJSON_TEST_OUTPUT STREQUAL "xml") -ENDFOREACH()