summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableTestingCommand.h
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-10-19 14:07:56 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-10-19 14:07:56 (GMT)
commit8074eeebf11aa254e968a2b75f2cf9c1f2ff2c42 (patch)
tree84f883e544b6fc059ceb86b23f479fb499055434 /Source/cmEnableTestingCommand.h
parent5cc95e438733921b79a727ab9e0f31e64c2cee48 (diff)
downloadCMake-8074eeebf11aa254e968a2b75f2cf9c1f2ff2c42.zip
CMake-8074eeebf11aa254e968a2b75f2cf9c1f2ff2c42.tar.gz
CMake-8074eeebf11aa254e968a2b75f2cf9c1f2ff2c42.tar.bz2
Add warning regarding the location of ENABLE_TESTING (should be in the top CMakeList.txt, otherwise Dart is lost)
Diffstat (limited to 'Source/cmEnableTestingCommand.h')
-rw-r--r--Source/cmEnableTestingCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmEnableTestingCommand.h b/Source/cmEnableTestingCommand.h
index e3f66d0..f8420e4 100644
--- a/Source/cmEnableTestingCommand.h
+++ b/Source/cmEnableTestingCommand.h
@@ -54,6 +54,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* within the valid control structures are replicated in Testfile
* (i.e. SUBDIRS() and ADD_TEST() commands within IF() commands that are
* not entered by CMake are not replicated in Testfile).
+ * Note that Dart expects to find this file in the build directory root;
+ * therefore, this command should be in the source directory root too.
*/
class cmEnableTestingCommand : public cmCommand
{
@@ -107,7 +109,7 @@ public:
{
return
"ENABLE_TESTING()\n"
- "Enables testing for this directory and below. See also the ADD_TEST command.";
+ "Enables testing for this directory and below. See also the ADD_TEST command. Note that Dart expects to find this file in the build directory root; therefore, this command should be in the source directory root too.";
}
cmTypeMacro(cmEnableTestingCommand, cmCommand);