visual studio 2010 - How change project name with conditions in c++ -


how can change change name of project executable in c++?

i know can in project properties under "configuration properties", want in code, example using conditions

#ifdef *something define*         //project name a.exe #else         //project name b.exe #endif 

i'm afraid, not possible change executable name code. nearest thing possible define 2 build configurations (like release-a , release-b) different executable names in properties , different defines. can change executable name , defines @ same time chosing configuration.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -