Click here to Skip to main content
15,889,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

Here is my situation.
I have created a Custom Wizard C++ project in Visual studio 2010.
It will be used as a custom project system.

Info(
The Visual C++ Custom Wizard is a specific type of wizard, designed to help you create your own wizards. Once configured, your wizard generates the starter files you need for your projects.)


The Question

How can I Add references(to third party dll) dynamically from code whenever the starter files for my project are generated. The logic behind the wizard is written in several javascript files. The Main one is common.js.
Posted
Updated 21-Nov-14 0:42am
v3

1 solution

You do not say which version of Visual Studio you are using, but I discovered with VS Express, that you can add such items to the project properties in the default.js file. Take a look at my article Visual C++ Express, Custom Wizard[^], for further details.
 
Share this answer
 
Comments
Vladimir Saleh 21-Nov-14 7:34am    
I have already red that article but it is not specific for my issue. I would like to have some more specific example or explanation(for instance which methods to use in order to add additional dependency - to the linker inputs and to the compiler. Furthermore which methods to use to change the preprocecor definitions.
Have a Question or Comment?
Richard MacCutchan 21-Nov-14 8:37am    
If you look at the code for default.js in my article it shows where you can add the different items. The MSDN documentation may also help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900