Using OpenCV on Driveworks

Can anyone enlighten on how to use OpenCV3.x on Driveworks ?
Is there any documentation to cross compile OpenCV with Vibrante toolchain ?

Also we found OpenCV integration in VisionWorks, so if anyone can assist with how to use visionworks in Driveworks, it would be great.

http://dev.t7.ai/jetson/opencv/
http://docs.opencv.org/3.2.0/d6/d15/tutorial_building_tegra_cuda.html

We didn’t cross compile opencv, just installed opencv and VisionWorks works fine. Anyone has any idea to cross compile?