简体   繁体   中英

Visual C++ 2010 Different configurations for multiple projects

I've got a solution with multiple projects. Now every project has its own configuration and nearly all projects do even have multiple configurations. When building the projects I want that all configurations that do exist are built. Is there a way to do this automatically without picking every configurations by hand and start the building process over and over again?

To do it by hand in MSVC GUI you can do the following: 1. Right-click on the solution, in the popup menu go to the menu item "Batch build..." 2. In the dialog that will appear, do "Select all" or just select the projects/configurations you need. 3. Click button "Build" (or "Rebuild" if you prefer a clean build).

您可以编写MSBuild或NAnt脚本(甚至是普通的旧批处理文件)来编译所有配置,因此您不必手动完成所有操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM