At projectProperties->linker->Additional Dependencies i have following line:
kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
What is %(AdditionalDependencies) ? Where i can define it?
Just right click on your project and select properties. There you will get another set of options under 'Configuration Properties' . Go to C/C++ and under that -> General -> Additional Include Directories ( where all the header files of third party is there ).
Right-click on the solution in Solution Explorer and select Add > New Project. On the Add a new project page, enter library in the search box. Choose C# or Visual Basic from the Language list, and then choose All platforms from the Platform list. Choose the Class Library template, and then choose Next.
Visual Studio lets you use Property Sheets. Your project can have various configurations, which can have properties from any/all of your Property Sheets, plus locally defined properties.
For example, on one recent project, I created the following property sheets: 1) common, 2) 32 bit, 3) 64 bit, 4) Debug, 5) Release.
A given configuration (e.g., 32-bit English Release build) would have a combination of those: 1 + 2 + 5 + property-specific "English" definition.
The macro you're seeing is used for "do I use properties from the property sheet plus additional properties" or "do I override the properties entirely and ignore the property sheets."
It's kind of a trick to set these up correct the first time, but it really simplifies maintaining multiple project settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With