How to add paths for Visual Studio “Additional Library Directories” automatically

Hi,
Is it possible to add automatically paths and fileNames for Visual Studio? What kind of magic script I need to use?
I need to add paths
to C++ -> General -> Additional Include Directories
to Linker -> General -> Additional Library Directories
and files
to Linker -> Input -> Additional Dependencies

I noticed that many of addons require adding these parameters manually but there is the ofxCv addon where it’s done in automatically. How?

1 Like