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/cmInstallCommand.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/cmInstallCommand.h')
-rw-r--r-- | Source/cmInstallCommand.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h index 7afa866..d7b3f64 100644 --- a/Source/cmInstallCommand.h +++ b/Source/cmInstallCommand.h @@ -45,7 +45,7 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual const char* GetName() { return "INSTALL";} + virtual const char* GetName() { return "install";} /** * Succinct documentation. @@ -97,7 +97,7 @@ public: "file to be installed does not exist. " "\n" "The TARGETS signature:\n" - " INSTALL(TARGETS targets...\n" + " install(TARGETS targets...\n" " [[ARCHIVE|LIBRARY|RUNTIME]\n" " [DESTINATION <dir>]\n" " [PERMISSIONS permissions...]\n" @@ -130,11 +130,11 @@ public: "to the TARGETS form of this command. A target may be installed more " "than once to different locations. Consider hypothetical " "targets \"myExe\", \"mySharedLib\", and \"myStaticLib\". The code\n" - " INSTALL(TARGETS myExe mySharedLib myStaticLib\n" + " install(TARGETS myExe mySharedLib myStaticLib\n" " RUNTIME DESTINATION bin\n" " LIBRARY DESTINATION lib\n" " ARCHIVE DESTINATION lib/static)\n" - " INSTALL(TARGETS mySharedLib DESTINATION /some/full/path)\n" + " install(TARGETS mySharedLib DESTINATION /some/full/path)\n" "will install myExe to <prefix>/bin and myStaticLib to " "<prefix>/lib/static. " "On non-DLL platforms mySharedLib will be installed to <prefix>/lib " @@ -148,7 +148,7 @@ public: "undefined behavior." "\n" "The FILES signature:\n" - " INSTALL(FILES files... DESTINATION <dir>\n" + " install(FILES files... DESTINATION <dir>\n" " [PERMISSIONS permissions...]\n" " [CONFIGURATIONS [Debug|Release|...]]\n" " [COMPONENT <component>]\n" @@ -160,7 +160,7 @@ public: "GROUP_READ, and WORLD_READ if no PERMISSIONS argument is given." "\n" "The PROGRAMS signature:\n" - " INSTALL(PROGRAMS files... DESTINATION <dir>\n" + " install(PROGRAMS files... DESTINATION <dir>\n" " [PERMISSIONS permissions...]\n" " [CONFIGURATIONS [Debug|Release|...]]\n" " [COMPONENT <component>]\n" @@ -173,7 +173,7 @@ public: "built within the project." "\n" "The DIRECTORY signature:\n" - " INSTALL(DIRECTORY dirs... DESTINATION <dir>\n" + " install(DIRECTORY dirs... DESTINATION <dir>\n" " [FILE_PERMISSIONS permissions...]\n" " [DIRECTORY_PERMISSIONS permissions...]\n" " [USE_SOURCE_PERMISSIONS]\n" @@ -214,7 +214,7 @@ public: "The PERMISSIONS option overrides the permissions setting for the " "matched file or directory. " "For example the code\n" - " INSTALL(DIRECTORY icons scripts/ DESTINATION share/myproj\n" + " install(DIRECTORY icons scripts/ DESTINATION share/myproj\n" " PATTERN \"CVS\" EXCLUDE\n" " PATTERN \"scripts/*\"\n" " PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ\n" @@ -225,14 +225,14 @@ public: "any CVS directories will be excluded." "\n" "The SCRIPT and CODE signature:\n" - " INSTALL([[SCRIPT <file>] [CODE <code>]] [...])\n" + " install([[SCRIPT <file>] [CODE <code>]] [...])\n" "The SCRIPT form will invoke the given CMake script files during " "installation. If the script file name is a relative path " "it will be interpreted with respect to the current source directory. " "The CODE form will invoke the given CMake code during installation. " "Code is specified as a single argument inside a double-quoted string. " "For example, the code\n" - " INSTALL(CODE \"MESSAGE(\\\"Sample install message.\\\")\")\n" + " install(CODE \"MESSAGE(\\\"Sample install message.\\\")\")\n" "will print a message during installation.\n" "NOTE: This command supercedes the INSTALL_TARGETS command and the " "target properties PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT. " |