diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-10-10 15:47:43 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-10-10 15:47:43 (GMT) |
commit | 8d32d229a3b77f7cb0dd708c6a492fa33797b9f0 (patch) | |
tree | 616c727c9b0609549374c223079b367172bffeff /Source/cmTryRunCommand.h | |
parent | 8e4c7b99e1b73c641308c0177673dac33fe57df1 (diff) | |
download | CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.zip CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.gz CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.bz2 |
ENH: make commands lower case by default
Diffstat (limited to 'Source/cmTryRunCommand.h')
-rw-r--r-- | Source/cmTryRunCommand.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h index a5400f5..0a86486 100644 --- a/Source/cmTryRunCommand.h +++ b/Source/cmTryRunCommand.h @@ -44,7 +44,7 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual const char* GetName() { return "TRY_RUN";} + virtual const char* GetName() { return "try_run";} /** * Succinct documentation. @@ -60,7 +60,7 @@ public: virtual const char* GetFullDocumentation() { return - " TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR\n" + " try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR\n" " bindir srcfile [CMAKE_FLAGS <Flags>]\n" " [COMPILE_DEFINITIONS <flags>]\n" " [COMPILE_OUTPUT_VARIABLE comp]\n" @@ -79,7 +79,7 @@ public: "gives you the output from the compile and run step combined.\n\n" "Cross compiling issues\n" "When cross compiling, the executable compiled in the first step " - "usually cannot be run on the build host. TRY_RUN() checks the " + "usually cannot be run on the build host. try_run() checks the " "CMAKE_CROSSCOMPILING variable to detect whether CMake is in " "crosscompiling mode. If that's the case, it will still try to compile " "the executable, but it will not try to run the executable. Instead it " @@ -91,12 +91,12 @@ public: "additional cache variable " "RUN_RESULT_VAR__COMPILE_RESULT_VAR__TRYRUN_OUTPUT." "This is intended to hold stdout and stderr from the executable.\n" - "In order to make cross compiling your project easier, use TRY_RUN " - "only if really required. If you use TRY_RUN, use RUN_OUTPUT_VARIABLE " + "In order to make cross compiling your project easier, use try_run " + "only if really required. If you use try_run, use RUN_OUTPUT_VARIABLE " "(or OUTPUT_VARIABLE) only if really required. Using them will require " "that when crosscompiling, the cache variables will have to be set " "manually to the output of the executable. You can also \"guard\" the " - "calls to TRY_RUN with IF(CMAKE_CROSSCOMPILING) and provide an " + "calls to try_run with if(CMAKE_CROSSCOMPILING) and provide an " "easy-to-preset alternative for this case.\n"; } |