@@ -21,15 +21,9 @@ endif()
2121set (LIBRARIES vecmem::core traccc::io traccc::performance
2222 traccc::core traccc::device_common traccc::alpaka
2323 traccc::options traccc_examples_common ${EXTRA_LIBS} )
24- set (DETRAY detray::io detray::detectors)
25-
26- traccc_add_executable( seq_example_alpaka "seq_example_alpaka.cpp"
27- LINK_LIBRARIES ${LIBRARIES} ${DETRAY} )
28- traccc_add_executable( seeding_example_alpaka "seeding_example_alpaka.cpp"
29- LINK_LIBRARIES ${LIBRARIES} )
3024
3125#
32- # Set up the "throughput applications" .
26+ # Set up the library used by the applications.
3327#
3428add_library ( traccc_examples_alpaka STATIC
3529 "device_backend.hpp"
@@ -38,13 +32,19 @@ add_library( traccc_examples_alpaka STATIC
3832 "full_chain_algorithm.cpp" )
3933target_link_libraries ( traccc_examples_alpaka
4034 PUBLIC vecmem::core detray::core detray::detectors
41- traccc::core traccc::device_common traccc::alpaka traccc_examples_common ${EXTRA_LIBS} )
35+ traccc::core traccc::device_common traccc::alpaka traccc_examples_common
36+ ${EXTRA_LIBS} )
4237
38+ #
39+ # Set up the applications.
40+ #
4341traccc_add_executable( throughput_st_alpaka "throughput_st.cpp"
44- LINK_LIBRARIES indicators::indicators ${LIBRARIES} ${DETRAY} traccc_examples_alpaka )
42+ LINK_LIBRARIES indicators::indicators traccc_examples_common
43+ traccc_examples_alpaka )
4544
4645traccc_add_executable( throughput_mt_alpaka "throughput_mt.cpp"
47- LINK_LIBRARIES TBB::tbb indicators::indicators ${LIBRARIES} ${DETRAY} traccc_examples_alpaka )
46+ LINK_LIBRARIES TBB::tbb indicators::indicators traccc_examples_common
47+ traccc_examples_alpaka )
4848
4949traccc_add_executable( track_finding_validation_alpaka
5050 "track_finding_validation.cpp"
0 commit comments