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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -