parent
048f9c48b2
commit
1886b9ecb0
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
||||
|
||||
# Convenience macro to add unit tests. |
||||
macro( folderarchive_kmail _source ) |
||||
set( _test ${_source} ../folderarchiveaccountinfo.cpp ) |
||||
get_filename_component( _name ${_source} NAME_WE ) |
||||
kde4_add_unit_test( ${_name} TESTNAME folderarchive-${_name} ${_test} ) |
||||
target_link_libraries( ${_name} ${QT_QTTEST_LIBRARY} ${QT_QTCORE_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDEPIMLIBS_AKONADI_LIBS}) |
||||
endmacro() |
||||
|
||||
folderarchive_kmail(folderarchiveaccountinfotest.cpp) |
||||
Loading…
Reference in new issue