0
Is it possible to create two different exe from visual studio solution
Hi Can we create two different applications as output of Visual Studio Solution? We need (say for example) add.exe and multiply.exe based on some preprocessor definition value. Is it possible to have two different configurations one responsible to have addition and other for subtraction. Any thought on how to achieve the same will be of great help. Thanks in advance....!
4 Respuestas
+ 5
Ketan Lalcheta I believe this answers your question
https://stackoverflow.com/questions/33776846/how-to-create-two-different-executables-from-one-visual-studio-project
+ 2
You could use a build tool like CMake to generate multiple projects from a single code base.
You can then also load CMake project into visual studio which is useful as well checkout the add_executable() function in CMake
+ 1
Thank you