From 8074eeebf11aa254e968a2b75f2cf9c1f2ff2c42 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 19 Oct 2001 10:07:56 -0400 Subject: Add warning regarding the location of ENABLE_TESTING (should be in the top CMakeList.txt, otherwise Dart is lost) --- Source/cmEnableTestingCommand.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v0.12