2018-01-24 16:56:46 +01:00
|
|
|
set(falkon_benchmarks_SRCS )
|
|
|
|
|
2022-06-16 19:24:50 +02:00
|
|
|
qt_add_resources(falkon_benchmarks_SRCS benchmarks.qrc)
|
2018-01-24 16:56:46 +01:00
|
|
|
|
|
|
|
macro(falkon_benchmarks)
|
|
|
|
foreach(_benchmarkname ${ARGN})
|
|
|
|
add_executable(${_benchmarkname} ${_benchmarkname}.cpp ${falkon_benchmarks_SRCS})
|
2022-06-16 19:24:50 +02:00
|
|
|
target_link_libraries(${_benchmarkname} Qt::Test FalkonPrivate)
|
2018-01-24 16:56:46 +01:00
|
|
|
#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
|
|
|
|
)
|