【发布时间】:2016-07-05 17:25:29
【问题描述】:
对于我的项目,我想支持 Windows (vc12) 和 Linux (gcc)。问题是每种构建模式都有不同的路径和库。
#shared all
unix
{
# unix shared
debug
{
# unix debug
}
release
{
# unix release
}
}
win32
{
# win shared
debug
{
# win debug
}
release
{
# win release
}
}
到目前为止,我的经验是 unix/win32 可以工作,但调试/发布却不行。 有没有办法实现这个功能?
【问题讨论】: