【发布时间】:2013-11-19 01:31:08
【问题描述】:
我想以一致的方式为我的解决方案中的所有项目定义包含、链接和二进制输出的路径。
已创建解决方案文件夹和项目。有没有一种自动化的方法,可以一次设置所有项目的相对输出目录和包含目录,或者最好在解决方案级别上?
例如,我当前的目录结构如下。
repository (solution)
├─ README.md
├─ dependencies (solution folder)
│ └─ name (several projects)
│ ├─ *.h, *.cpp
│ └─ binary (*.dll or *.lib)
│ ├─ debug
│ └─ release
├─ managers (solution folder)
│ └─ name (several projects)
│ ├─ *.h, *.cpp
│ └─ binary (*.dll or *.lib)
│ ├─ debug
│ └─ release
├─ system (project)
│ ├─ *.h, *.cpp
│ └─ binary (*.dll or *.lib)
│ ├─ debug
│ └─ release
├─ modules (solution folder)
│ └─ name (several projects)
│ ├─ *.h, *.cpp
│ ├─ binary
│ │ ├─ debug
│ │ └─ release
│ └─ *.jpg, *.3ds, ... (assets)
└─ application (project)
├─ *.cpp
└─ binary (*.exe)
├─ debug
└─ release
【问题讨论】:
标签: c++ visual-studio project build-process directory-structure