summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallCommand.h')
-rw-r--r--Source/cmInstallCommand.h20
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. "