【问题标题】:cmake doesn't create the dartconfiguration.tclcmake 不会创建 dartconfiguration.tcl
【发布时间】:2018-04-05 15:40:18
【问题描述】:

我有一个启动 cmake 和 ctest 并且可以工作的 bash 脚本。

我在 python 中开发了另一个具有相同功能的脚本,但我遇到了这个问题:

WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake Problem initializing the dashboard.

我已验证 ctestconfigcmake 位于根目录并复制到我的项目中,并且包含 ctest 存在于 cmakelists.txt 中。

你能帮帮我吗?

提前致谢。

【问题讨论】:

  • 请提供MCVE
  • 能否请您也添加您的CMakeLists.txt 文件的[mvce]。如果我不得不猜测你可能错过了include(Dart) 行。
  • 是的,我在 CMakeLists.txt 中没有找到 include(Dart) ,我必须在 cmakeconfig 中添加它吗?我补充说我使用 CDASH。
  • @AnatoEm 我的项目中也有include(Dart),但我没有使用cdash。您可以将此要求视为 CMake 中的一个问题,但我们只是说您需要它来消除警告。

标签: cmake ctest


【解决方案1】:

最后,我发现了错误。 cmake 命令不好,并且不包含 include ctest。我使用的是 subprocesss.run,所以参数必须是列表,并且与 bash 中的参数不同。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多