How install xfeatures2d demo with cmake

From build directory i installed opencv_contrib
cmake - DOPENCV_EXTRA_MODULES_PATH = C:\aiopencv\opencv\ctf\opencv_contrib/modules C:\aiopencv\opencv\sources

I could not see how to install xfeatures2d demo
Would like to run this demo on windows 11 c++ visual studio 2022
thhanks

Could someone point me to the explanation text for this or the cmake cmd line ?

which demo, exactly ?

where to ? did everything really get built ? may we see cmake output ?

Good point about if it got built.
cmake - DOPENCV_EXTRA_MODULES_PATH hopefully went into opencv\sources directory
What files would indicate that build got there.

cmake output, refresh me how to direct output to a file so you can see.

thanks berak