SystemC-Components-Test/tests/sim_performance/CMakeLists.txt

16 lines
575 B
CMake
Raw Normal View History

2020-05-27 16:47:07 +02:00
cmake_minimum_required(VERSION 3.12)
add_executable (sim_performance
sc_main.cpp
pkt_sender.cpp
pkt_switch.cpp
2020-05-27 16:47:07 +02:00
top.cpp
)
target_link_libraries (sim_performance LINK_PUBLIC scc)
target_link_libraries (sim_performance LINK_PUBLIC ${Boost_LIBRARIES} )
#Mateo Done erst count 16384
foreach(x RANGE 1 10)
add_test(NAME sim_performance_16x16_${x} COMMAND sim_performance)
add_test(NAME sim_performance_16x16_${x} COMMAND sim_performance --dim 32 --count 50000)
add_test(NAME sim_performance_16x16_${x} COMMAND sim_performance --dim 64 --count 100000)
endforeach()