Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/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
Build 如何让CMake不创建DartConfiguation.tcl文件?_Build_Dart_Cmake - Fatal编程技术网

Build 如何让CMake不创建DartConfiguation.tcl文件?

Build 如何让CMake不创建DartConfiguation.tcl文件?,build,dart,cmake,Build,Dart,Cmake,我正在用一个tests文件夹编写这个CMake项目。现在,只要在我的构建文件夹中运行make,就会创建一个DartConfiguration.tcl。我不认为我真的需要它。。。为什么要创建它?我可以安排一下吗?听起来你好像包括了CTest模块。试着改用。CTest模块用于使用CTest/CDash配置测试项目,然后运行创建DartConfiguration.tcl的步骤。您可以自己在Modules\CTest.cmake中查看该模块。我建议将该模块包括在内,以便具有BUILD\u TESTING

我正在用一个tests文件夹编写这个CMake项目。现在,只要在我的构建文件夹中运行
make
,就会创建一个
DartConfiguration.tcl
。我不认为我真的需要它。。。为什么要创建它?我可以安排一下吗?

听起来你好像包括了
CTest
模块。试着改用。
CTest
模块用于
使用CTest/CDash
配置测试项目,然后运行创建
DartConfiguration.tcl
的步骤。您可以自己在
Modules\CTest.cmake

中查看该模块。我建议将该模块包括在内,以便具有
BUILD\u TESTING
config选项。我想我可以自己创造它。