mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
19 lines
622 B
CMake
19 lines
622 B
CMake
|
set(falkon_benchmarks_SRCS )
|
||
|
|
||
|
qt5_add_resources(falkon_benchmarks_SRCS benchmarks.qrc)
|
||
|
|
||
|
macro(falkon_benchmarks)
|
||
|
foreach(_benchmarkname ${ARGN})
|
||
|
add_executable(${_benchmarkname} ${_benchmarkname}.cpp ${falkon_benchmarks_SRCS})
|
||
|
target_link_libraries(${_benchmarkname} Qt5::Test FalkonPrivate)
|
||
|
#add_test(NAME falkon-${_benchmarkname} COMMAND ${_benchmarkname})
|
||
|
#ecm_mark_as_test(${_benchmarkname})
|
||
|
#set_tests_properties(falkon-${_benchmarkname} PROPERTIES RUN_SERIAL TRUE)
|
||
|
endforeach(_benchmarkname)
|
||
|
endmacro()
|
||
|
|
||
|
falkon_benchmarks(
|
||
|
#adblockmatchrule
|
||
|
adblockparserule
|
||
|
)
|