|
-
May 9th, 2013, 08:20 AM
#1
Thread Starter
Addicted Member
VS2010. Conditional Build. Two versions of same program in one solution ?
I didn't see a forum area specifically about configuring visual studio. So here goes.
I've got a program but now I want to make two versions of it. Lets call them 'Home' and 'Pro' where the Home simply has some features disabled based on the value of a boolean const or variable.
To do it manually I'd change the value of the boolean. Change the output exe name and build. Then change the bool again, change the output name and build. I've now got two different programs.
But is there some way to automate that so I just hit the button to build and VS does that for me ?
Sorry if this is the wrong area (I'm sure the mods will move it) and I'm also sorry if I didn't explain very well - I'm sure you know what I mean though.
Thanks
Ax
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|