Change the default DDS implementation

I found the ordering in get_default_rmw_implementation.cmake. However, it’s not clear to me how RMW_IMPLEMENTATION affects this (at compile time). Does RMW_IMPLEMENTATION being set during compile cause a single middleware to get compiled in or does it just change the default middleware?