871abdcee8
- stack allocation like std::array<T, N> when number of elements is <= N, behaves like std::vector<T> once the number of elements exceeds N.
12 строки
502 B
CMake
12 строки
502 B
CMake
#
|
|
# add container sources and headers to common library target
|
|
#
|
|
set(containers_headers
|
|
ring_buffer.hpp c_array.hpp operators.hpp record_header_buffer.hpp ring_buffer.hpp
|
|
small_vector.hpp stable_vector.hpp static_vector.hpp)
|
|
set(containers_sources ring_buffer.cpp record_header_buffer.cpp ring_buffer.cpp
|
|
small_vector.cpp)
|
|
|
|
target_sources(rocprofiler-common-library PRIVATE ${containers_sources}
|
|
${containers_headers})
|