drcontainers DynamoRIO Extension provides container data structures that use the DR API for memory allocation and synchronization.
drcontainers with your client simply include this line in your client's CMakeLists.txt file:
use_DynamoRIO_extension(clientname drcontainers)
That will automatically set up the include path and library dependence.