Hi Charles,
Currently OSVVM does not have control of where the Xilinx library goes. While we want it to go in the VHDL_LIBS directory, currently it is not.
Once we have control of where the library is, then to have two projects share the same compiled image of OsvvmLibraries we need to have a separate place for the OsvvmLibraries and the project libraries.
These sort of things will happen in a future release. If you know how to do this, I would gladly accept a pull request on GitHub to update the VendorScripts_XSIM.tcl in the scripts directory. That is the file that personalizes OSVVM scripts for XSIM. It is fairly simple.
As a result, for now, each project will have to have its own compiled image of OSVVM. On another simulator, I would tell you that this is no big deal as it takes 20 to 45 seconds to compile all of OSVVM – unfortunately on XSIM it is a little slower and the library uses more disk.
Best Regards,
Jim