Warning, /acts/Tests/Benchmarks/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # benchmarks tests are not registered with a common target
0002 # add an benchmark executable w/ default dependencies
0003 macro(add_benchmark _name)
0004 # automatically prefix the target name
0005 set(_target "ActsBenchmark${_name}")
0006 add_executable(${_target} ${ARGN})
0007 # define required BOOST_TEST_... macros here to ensure consistent names
0008 target_compile_definitions(
0009 ${_target}
0010 PRIVATE "-DBOOST_TEST_DYN_LINK" "-DBOOST_TEST_MODULE=${_target}"
0011 )
0012 target_include_directories(${_target} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
0013 target_link_libraries(
0014 ${_target}
0015 PRIVATE
0016 ActsCore
0017 ActsTestsCommonHelpers
0018 Boost::program_options
0019 Boost::unit_test_framework
0020 )
0021 endmacro()
0022
0023 add_benchmark(AtlasStepper AtlasStepperBenchmark.cpp)
0024 add_benchmark(BoundaryTolerance BoundaryToleranceBenchmark.cpp)
0025 add_benchmark(BinUtility BinUtilityBenchmark.cpp)
0026 add_benchmark(EigenStepper EigenStepperBenchmark.cpp)
0027 add_benchmark(SolenoidField SolenoidFieldBenchmark.cpp)
0028 add_benchmark(SurfaceIntersection SurfaceIntersectionBenchmark.cpp)
0029 add_benchmark(RayFrustum RayFrustumBenchmark.cpp)
0030 add_benchmark(AnnulusBounds AnnulusBoundsBenchmark.cpp)
0031 add_benchmark(StraightLineStepper StraightLineStepperBenchmark.cpp)
0032 add_benchmark(SympyStepper SympyStepperBenchmark.cpp)
0033 add_benchmark(Stepper StepperBenchmark.cpp)
0034 add_benchmark(SourceLink SourceLinkBenchmark.cpp)
0035 add_benchmark(TrackEdm TrackEdmBenchmark.cpp)