20 lines
616 B
CMake
20 lines
616 B
CMake
cmake_minimum_required(VERSION 3.12)
|
|
add_executable (sim_performance
|
|
sc_main.cpp
|
|
pkt_sender.cpp
|
|
pkt_switch.cpp
|
|
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)
|
|
endforeach()
|
|
foreach(x RANGE 1 10)
|
|
add_test(NAME sim_performance_20x20_${x} COMMAND sim_performance --dim 20)
|
|
endforeach()
|
|
foreach(x RANGE 1 10)
|
|
add_test(NAME sim_performance_30x30_${x} COMMAND sim_performance --dim 30)
|
|
endforeach() |