【问题标题】:Run scons from directory upstream in the hierarchy从层次结构中的上游目录运行 scons
【发布时间】:2015-11-19 09:35:38
【问题描述】:

我想从与包含SConstruct file 的目录不同的目录运行 scons。该目录位于层次结构的上游。

我知道命令scons -u 将在目录树中向上搜索SConstruct file。是否存在向下搜索的选项?

谢谢

【问题讨论】:

  • 你可以使用-C指向工作目录
  • Hcorg - 你应该把它作为答案。它是正确的。 :)

标签: directory scons


【解决方案1】:

正如@hcorg 上面所说的:

scons -C <path to  your subdir>

【讨论】:

    猜你喜欢
    • 2014-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多