Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
cmake不';t创建dartconfiguration.tcl_Cmake_Ctest - Fatal编程技术网

cmake不';t创建dartconfiguration.tcl

cmake不';t创建dartconfiguration.tcl,cmake,ctest,Cmake,Ctest,我有一个bash脚本,可以启动cmake和ctest,并且可以正常工作 我用python开发了另一个具有相同功能的脚本,但我遇到了以下问题: WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake Problem initializing the dashboard. 我已验证ctestconfigcmake位于根目录下,并复制到我的项目中,并且include ctest存

我有一个bash脚本,可以启动cmake和ctest,并且可以正常工作

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

WARNING: No nightly start time found please set in CTestConfig.cmake or DartConfig.cmake Problem initializing the dashboard.
我已验证ctestconfigcmake位于根目录下,并复制到我的项目中,并且include ctest存在于cmakelists.txt中

你能帮我吗


提前谢谢。

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

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