Visual Studio: how to create a project that would compile 2 exe files?

后端 未结 6 1894
无人共我
无人共我 2020-12-16 10:20

So I have main.cpp and main2.cpp with int main in each. I want to get 2 exes out of it. Is it possible and what would be instruction to create such project?

6条回答
  •  半阙折子戏
    2020-12-16 10:57

    You need a solution which includes two projects. Have a read of the Visual Studio documentation on solutions and projects.

提交回复
热议问题