How can I change the output executable file name in Visual C++ 2010?

前端 未结 2 736
心在旅途
心在旅途 2021-02-18 15:03

Is there any way to change the output executable name (ProjectName.exe) to some custom name in Visual C++ 2010, without changing the project name?

Thanks.

2条回答
  •  梦如初夏
    2021-02-18 15:32

    In the Project Properties under "Configuration Properties" -> "General," there is a property called "Target Name." It defaults to "$(ProjectName)" but can be changed to whatever you like.

    Or, you can set it directly in the linker options under "Configuration Properties" -> "Linker" -> "General;" the property is called "Output File."

提交回复
热议问题